/dot-dash

A fun nostalgia game.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Banner

A classic game from school days.

"Connect the dots, claim the squares, rule the grid!"

Status License

About

Dot Dash is a modern take on the classic pen-and-paper game from our school days. Players take turns connecting dots on a grid, aiming to complete squares and mark their territory. It's a perfect blend of strategy, foresight, and a dash of nostalgia!

Features

  • 📱 Responsive design for both desktop and mobile play
  • 🎨 Customizable player names and grid size
  • 🏆 Score tracking
  • 🌓 Light and dark mode support

How to play

  1. The game starts with a grid of dots.
  2. Players take turns connecting two adjacent dots with a line.
  3. When a player completes a square, they claim it by placing the first letter of their name inside.
  4. The player with the most claimed squares at the end wins!

Roadmap

  • Time Mode: each player has a limited time to complete connect the dots.
  • Multiplayer Support:
    • 3-player mode
    • 4-player mode
  • AI Opponent: Challenge the bot basically single player mode
  • Themes: Choose from various visual styles.

We're always open to new ideas! If you have suggestions, please open an issue to discuss them.

Getting Started

Run locally

  1. clone the repo git clone https://github.com/udhaybegyall/dot-dash.git

  2. cd into the repo cd dot-dash

  3. install dependencies npm install

  4. run the local server

    npm run dev
    # or
    yarn dev
    # or
    pnpm dev
    # or
    bun dev
  5. Open http://localhost:3000 with your browser to see the result.

Contributing

We welcome contributions! We will add the Contributing Guide for more details soon.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for more details.