This project is part of my Web Development Internship at Prodigy InfoTech.
Create a Tic-Tac-Toe web application that:
- Supports Two-player and Vs Computer modes
- Offers Easy and Medium AI difficulty
- Allows players to enter names before starting (via start modal)
- Shows clear game states (turn, win, draw)
- Highlights the winning line and disables board after game end
- Saves player names and scores using
localStorage
- Includes sound effects (move, win, draw) with mute option
- HTML5
- CSS3
- JavaScript (vanilla)
- Two-player and AI modes (Easy: random, Medium: basic strategy)
- Start modal to enter player names and choose mode/difficulty
- Scoreboard (X / O / Draw) with persistence
- Move history and undo last move
- Highlight winning cells and clear UI states
- Sound effects and mute toggle
- Responsive and modern UI
📁 PRODIGY_WD_03/
├── 📁 Sound/
├── click.mp3
├── draw.mp3
├── win.mp3
├── index.html
├── style.css
├── script.js
- Game state management in JavaScript
- Simple AI strategies (random, block/win)
- Using localStorage to persist user data
- Creating responsive UI and accessible interactions
Web Development Internship @ Prodigy InfoTech
#WebDevelopment #JavaScript #HTML #CSS #TicTacToe #Internship #ProdigyInfoTech