Skip to content

chore-dev/tic-tac-toe-advanced

Repository files navigation

Tic-Tac-Toe Advanced

Play a different tic-tac-toe with your friend online.

Idea originated from GiiKER Tic-Tac-Toe Bolt

Features

  • Classic tic-tac-toe game
  • Infinite mode (only 3 marks can be put)
  • Cover-up mode (3 sizes of marks, bigger one can cover smaller one)
  • Peer-to-peer online play

How to play

Local

Click "Local play" to play with your friend on the same device.

Online

Host a game

  1. Configure the game settings (e.g. mode)
  2. Click "Host a game"
  3. Share the host ID with your friend

Join a game

  1. Request the host ID from your friend
  2. Enter the host ID
  3. Click "Join"

Development

Prerequisites

  • Node.js 20+
  • PNPM 8+

Setup

pnpm install

Start

pnpm start

Build

pnpm build

TODO

  • Cover-up mode
  • Support page reloading on host

License

MIT License