This is a simple web-based Tic-Tac-Toe game where you can play against an AI opponent.
- Player vs AI gameplay
- Responsive design
- Score tracking
- Reset game functionality
- Stylish UI with a futuristic background
- Open the
index.html
file in a web browser. - Click on any empty cell to make your move (you are X).
- The AI (O) will automatically make its move after you.
- The game ends when there's a winner or a draw.
- Use the "Reset Game" button to start a new game.
- HTML
- CSS
- JavaScript
index.html
: The main HTML filestyles.css
: Contains all the styling for the gamescripts.js
: Contains the game logic and AIrm251-mind-16.jpg
: Background image for the game
No special setup is required. Simply clone the repository and open index.html
in a web browser.