Skip to content

Classic Tic-Tac-Toe with a modern twist! Play with friends (or soon-to-be AI) in this interactive HTML/CSS/JS project.

Notifications You must be signed in to change notification settings

shreyafz/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❌ Tic-Tac-Toe Game ⭕

This is a simple Tic-Tac-Toe game implemented using HTML, CSS, and JavaScript.

Features

  • Play against a friend or AI (not implemented yet)
  • Keep track of the current player's turn
  • Detect win conditions and declare a winner
  • Reset the game for a new round

How to Play

  1. Clone this repository or download the files.
  2. Open the index.html file in your web browser.
  3. Click on the squares to place your X or O.
  4. The game will keep track of the current player's turn.
  5. If a player gets three in a row, the game will declare a winner.

Technologies Used

  • HTML: Defines the structure of the game board.
  • CSS: Styles the game board and elements.
  • JavaScript: Handles game logic, player turns, and win conditions (to be implemented).

Preview..

WhatsApp Image 2024-04-16 at 3 20 33 PM

Running the Game

Open index.html in your web browser to play the game.

Contributing

Feel free to fork this repository and contribute your improvements! You can add features like AI opponents, difficulty levels, or visual effects.

About

Classic Tic-Tac-Toe with a modern twist! Play with friends (or soon-to-be AI) in this interactive HTML/CSS/JS project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published