Skip to content

maddoxcypher/PRODIGY_WD_3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe Game

This is a simple web-based Tic-Tac-Toe game where you can play against an AI opponent.

Features

  • Player vs AI gameplay
  • Responsive design
  • Score tracking
  • Reset game functionality
  • Stylish UI with a futuristic background

How to Play

  1. Open the index.html file in a web browser.
  2. Click on any empty cell to make your move (you are X).
  3. The AI (O) will automatically make its move after you.
  4. The game ends when there's a winner or a draw.
  5. Use the "Reset Game" button to start a new game.

Technologies Used

  • HTML
  • CSS
  • JavaScript

File Structure

  • index.html: The main HTML file
  • styles.css: Contains all the styling for the game
  • scripts.js: Contains the game logic and AI
  • rm251-mind-16.jpg: Background image for the game

Setup

No special setup is required. Simply clone the repository and open index.html in a web browser.

About

PRODIGY_WD_3 tic-tac-toe website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published