srinidhifd / Dot-Box

Dot-Box is a game where players take turns drawing lines between dots to create boxes. The player who completes the most boxes wins. It's a simple yet strategic game enjoyed by people of all ages.

Home Page:https://gamesphere-multiplayer.github.io/Dot-Box/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dots and Boxes Game - Join our Community on Discord

Community


Stars Forks Issues Open PRs Closed PRs
Stars Forks Issues Open Pull Requests Closed Pull Requests

Tech Stack

  • HTML
  • CSS
  • Javascript

Description ๐Ÿ“ƒ

  • It is a multiplayer game.
  • Based on the lines connected, the boxes would be coloured.
  • The one with maximum number of boxes would be the winner.

Functionalities ๐ŸŽฎ

  • It is a multiplayer game.
  • The player has to select the lines. The one with the line at the last would fill the connecting boxes.
  • The player with the maximum boxes covered would be the winner.
  • The size of the board can be adjustable by user.
  • Players will switch after every turn. But the player who has filled the last box, will get one extra chance consecutively.

How to play? ๐Ÿ•น๏ธ

  • User has to click on edge in such a way that it will maximise the number of boxes based on the lines connected and the number of adjacent boxes.

Setup and Installation

To contribute to the Dot-Box repository, follow these steps:

  1. Fork the Repository: Click on the "Fork" button on the repository's GitHub page to create a copy of the repository in your GitHub account.

  2. Clone the repository: Clone the forked repository to your local machine using the following command in your terminal.

    git clone https://github.com/<your-github-username>/Dot-Box
  3. Go to Dot-Box Folder

    cd Dot-Box
    
  4. Add a remote upstream:

    git remote add upstream https://github.com/ChromeGaming/Dot-Box
  5. Create a new branch: Create a new branch for your changes. Run the following command in your terminal.

    git checkout -b <your-branch-name>
  6. Make the desired changes: Make the desired changes to the source code. 6. Add your changes: Add your changes to the staging area. Run the following command in your terminal.

    git add <File1 changed> <File2 changed> ...
  7. Commit your changes: Commit your changes with a meaningful commit message. Run the following command in your terminal.

    git commit -m "<your-commit-message>"
  8. Push your changes: Push your changes to your forked repository. Run the following command in your terminal

    git push origin <your-branch-name>
  9. Create a Pull Request: Go to the GitHub page of your forked repository. You should see a prompt to create a pull request (PR). Click on it, compare the changes, and create the PR.


Screenshots ๐Ÿ“ธ

Screenshot


Working video ๐Ÿ“น

Dots_and_Boxes_Game.mp4

Our Contributors

About

Dot-Box is a game where players take turns drawing lines between dots to create boxes. The player who completes the most boxes wins. It's a simple yet strategic game enjoyed by people of all ages.

https://gamesphere-multiplayer.github.io/Dot-Box/

License:MIT License


Languages

Language:HTML 61.2%Language:CSS 22.4%Language:JavaScript 16.4%