ChromeGaming / 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.
https://chromegaming.github.io/Dot-Box/
MIT License
101 stars 186 forks source link
chromegaming dotandbox dotbox gamesphere

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

Description 📃

Functionalities 🎮

How to play? 🕹ī¸


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.

    1. 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 📸

Before Starting Game alt text

After Winning Game alt text


Working video 📹

Watch this tutorial to learn how to play Dots & Boxes effectively!

https://github.com/user-attachments/assets/6bd3d7e5-854d-4460-aef2-90efe3728e22


Our Contributors