Dots and Boxes Game - Join our Community on Discord
Stars | Forks | Issues | Open PRs | Closed PRs |
- HTML
- CSS
- Javascript
- 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.
- 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.
- 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.
To contribute to the Dot-Box repository, follow these steps:
-
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.
-
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
-
Go to Dot-Box Folder
cd Dot-Box
-
Add a remote upstream:
git remote add upstream https://github.com/ChromeGaming/Dot-Box
-
Create a new branch: Create a new branch for your changes. Run the following command in your terminal.
git checkout -b <your-branch-name>
-
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> ...
-
Commit your changes: Commit your changes with a meaningful commit message. Run the following command in your terminal.
git commit -m "<your-commit-message>"
-
Push your changes: Push your changes to your forked repository. Run the following command in your terminal
git push origin <your-branch-name>
-
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.
Watch this tutorial to learn how to play Dots & Boxes effectively!