Skip to content

A strategic variation of tic-tac-toe where each player can only have 3 pieces on the board, and must move their oldest piece when placing new ones.

Notifications You must be signed in to change notification settings

grevory/TicTacThree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Tic Tac Three

A strategic variation of tic-tac-toe where each player can only have 3 pieces on the board, and must move their oldest piece when placing new ones.

๐Ÿš€ Quick Start

# Clone the repository
git clone https://github.com/grevory/TicTacThree.git
cd tic-tac-three

# Install dependencies
npm install

# Start development server
npm start

# Build for production
npm run build

# Deploy to GitHub Pages
npm run deploy

๐Ÿ“ Project Structure

tic-tac-three/
โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ index.html
โ”‚   โ””โ”€โ”€ manifest.json
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ””โ”€โ”€ TicTacThree.js
โ”‚   โ”œโ”€โ”€ App.js
โ”‚   โ”œโ”€โ”€ App.css
โ”‚   โ””โ”€โ”€ index.js
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md

๐ŸŽฎ Game Rules

  1. Players alternate placing X and O pieces
  2. Each player can only have 3 pieces on the board at once
  3. Once a player has 3 pieces, they must move their oldest piece instead of placing new ones
  4. The piece that must be moved is highlighted with visual indicators
  5. Win by getting 3 in a row (horizontal, vertical, or diagonal)

๐Ÿ›  Technologies Used

  • React 18
  • Tailwind CSS
  • GitHub Pages deployment

About

A strategic variation of tic-tac-toe where each player can only have 3 pieces on the board, and must move their oldest piece when placing new ones.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published