Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chore-dev/tic-tac-toe-advanced

Play tic-tac-toe with your friend online.
https://github.com/chore-dev/tic-tac-toe-advanced

Last synced: about 2 months ago
JSON representation

Play tic-tac-toe with your friend online.

Awesome Lists containing this project

README

        

# Tic-Tac-Toe Advanced

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

Idea originated from [GiiKER Tic-Tac-Toe Bolt](https://giiker.com/products/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

```bash
pnpm install
```

### Start

```bash
pnpm start
```

### Build

```bash
pnpm build
```

## TODO

- [x] Cover-up mode
- [ ] Support page reloading on host

## License

MIT License