Skip to content

sofiaRibis/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Tic Tac Toe

A simple, animated Tic Tac Toe game built with HTML, SCSS, and JavaScript. Play in single-player mode against a basic AI or challenge a friend in two-player mode.

Tic Tac Toe Screenshot Tic Tac Toe Screenshot


โœจ Features

  • โœ… Two game modes: One-player (vs computer) and Two-player
  • ๐ŸŽจ Clean, modern UI with SCSS styling
  • ๐Ÿ’ก Simple AI opponent for solo games
  • ๐Ÿง  Win detection & draw logic
  • ๐Ÿ“ฑ Responsive design (works on mobile)

๐Ÿ•น๏ธ How to Play

  1. Choose a mode: One-player or Two-player.
  2. Take turns clicking on the grid to place your mark (O or X).
  3. The game automatically detects wins or draws.
  4. Click Restart to play again.

๐Ÿš€ Getting Started

1. Clone the repository

git clone https://github.com/your-username/tic-tac-toe.git
cd tic-tac-toe

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors