Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 2.17 KB

LEARN.md

File metadata and controls

50 lines (32 loc) · 2.17 KB

Dot-Box Game

Welcome to the Dot-Box Game project! This guide will help you understand the game, its rules, and how to make the most of this project. Whether you're a beginner or an experienced developer, we hope you find this project engaging and educational.

Table of Contents

  1. Introduction
  2. Game Rules
  3. Tech Stack
  4. Resources

Introduction

Dot-Box is a classic game where players take turns drawing lines between dots on a grid. The objective is to complete more boxes than your opponent. Despite its simplicity, the game requires strategic thinking and careful planning, making it a fun challenge for players of all ages.


🎮 Game Rules

The game is very simple and easy to play, it's a multiplayer game where each player gets one chance to play alternatively. The goal is to maximize the number of boxes owned. The game continues until no box is left unoccupied.

How to Play

  1. Setup: At the start of the game, choose the number of squares you want to have by specifying the number of rows and columns. The range is from 5 to 30 for both rows and columns. Also, specify the number of players, which can be from 2 to 6.

  2. Gameplay:

    • Players take turns marking one side of a square on the board.
    • If a side completes a square along with previous marks, the player gets the box and an extra chance to play.
    • The game requires strategic thinking to maximize the number of boxes owned.
  3. Winning: The player with the most boxes owned at the end of the game wins.


Tech Stack

This project utilizes the following technologies:

  • HTML: For structuring the web page.
  • CSS: For styling the game and its components.
  • JavaScript: For implementing the game logic and interactions.

Resources


Thank you for contributing to the Dot-Box Game project! Your efforts are greatly appreciated and help make this game even better. 😊