Skip to content

This is an interactive tic-tac-toe game implemented using HTML, CSS and JavaScript. The game has both single and double player modes, with different difficulty levels for the computer opponent.

License

Notifications You must be signed in to change notification settings

AmirMohammadPX/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game - Interactive Web Application

This is an interactive tic-tac-toe game implemented using HTML, CSS and JavaScript. The game has both single and double player modes, with different difficulty levels for the computer opponent.

Live Demo

You can play the game online at: https://amirmohammadpx.github.io/Tic-Tac-Toe-Game

Features

  • Single player mode with three difficulty levels: easy, medium and impossible
  • Two player mode
  • Responsive design
  • Dark mode and light mode automatically
  • Score tracking
  • Animated game screen and cells

How to Play

  1. Choose between single player or two player mode.
  2. If you are playing solo, select the difficulty level.
  3. Click on the cells to make your move.
  4. The game will automatically change turns and check for a winner.
  5. Use the "New Game" button to start a new game with the same settings.
  6. Use the "Change game mode" button to return to the mode selection screen.

Technologies Used

  • HTML5
  • CSS3
  • JavaScript (ES6+)
  • Bootstrap icons

Setup

To run this project locally, simply clone the repository and open the index.html file in your web browser.

git clone https://github.com/amirmohammadpx/Tic-Tac-Toe-Game.git
cd Tic-Tac-Toe-Game

Then open index.html in your preferred web browser.