Skip to content

ashimasaini2001/gamer_21

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

gamer_21

Dots & Boxes

Dot and Boxes Game

Dot and Boxes

Description: Dot and Boxes is a classic pen-and-paper game where two players take turns connecting dots to form lines. When a player completes a box by forming the fourth side, they score a point and get another turn. The player with the most boxes at the end of the game wins.

Features:

  • Single Player: Play against an AI opponent with adjustable difficulty levels.
  • Multiplayer: Play against another player on the same device.
  • Customizable Grid: Choose the size of the grid (rows and columns) before starting the game.
  • Score Tracking: Keep track of each player's score throughout the game.
  • Responsive Design: Enjoy the game on various screen sizes, including mobile devices.

How to Play:

  1. Choose the game mode (Single Player or Multiplayer) from the main menu.
  2. Adjust the difficulty level for Single Player mode, if applicable.
  3. Select the grid size (number of rows and columns) for the game board.
  4. Take turns connecting adjacent dots to form lines.
  5. When a player completes a box, they score a point and get another turn.
  6. The game ends when all boxes are filled, and the player with the most boxes wins.

Installation:

  1. Clone the repository to your local machine:
    git clone https://github.com/your-username/dot-and-boxes.git
    
  2. Navigate to the project directory:
    cd dot-and-boxes
    
  3. Install dependencies using npm or yarn:
    npm install
    
    or
    yarn install
    

Usage:

  • Run the development server:
    npm start
    
    or
    yarn start
    
  • Open your web browser and navigate to http://localhost:3000 to play the game.

Credits:

  • This project is based on the classic Dot and Boxes game.
  • Developed using React.js, HTML, and CSS.

Contributing:

  1. Fork the repository on GitHub.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and ensure tests pass.
  4. Submit a pull request for review.

License: This project is licensed under the MIT License - see the LICENSE file for details.

About

Dots & Boxes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%