Welcome to the most feature-packed and troll-fueled version of Tic Tac Toe. This isn't your average 3x3 grid — it's a battle of wits, roast, and AI supremacy.
- 🧑🤝🧑 PvP Mode – Classic 2-player mode, but spiced up with transitions and responsive UI.
- 🤖 Bot Mode – Choose from 3 difficulties:
- Easy: The bot is dumber than your old Nokia.
- Medium: Bot thinks one step ahead like a decent player.
- *Hard: Built with **Minimax Algorithm, this bot plays **perfectly. You can only *draw it, never beat it.
- 🎭 Roasting System – The game mocks you with savage messages depending on your difficulty choice. Easy players beware!
- ⚡ Glitch Screen Effects – Unique loading glitch between screens for a stylish transition.
- 🔊 Sound Effects:
- Click & hover sounds for buttons.
- Win/Lose sound effects.
- 🎨 Neon-Cyberpunk Styling – Responsive layout with glowing effects and animations.
- On launch, select a game mode:
- PvP: Pick who starts and begin.
- Bot: Select difficulty → choose to play as X or O.
- Medium Bot: Uses getBestMove() to try winning or blocking one move ahead.
- Hard Bot: Uses recursive **Minimax algorithm to evaluate all possible outcomes. It never makes a mistake.
- Reset clears the board, sounds, and reinitializes game logic.
- If it's the bot’s turn after reset, it will auto-move after a 1s delay.
- HTML5
- CSS3
- JavaScript (Vanilla)
- No frameworks. Pure JS power.
1. Clone the repository
git clone https://github.com/Ravishashi07/ultimate-tictactoe.git
cd ultimate-tictactoe2. Right-click on index.html → Open with Live Server OR use the "Go Live" button in VS Code's status bar
3. Start playing.
MIT License
Use it, modify it, roast your friends with it.
Built with caffeine, sarcasm, and late-night coding.
“The game where you can lose to a JavaScript object.”
Click Sound Effect
“Sci-fi Click” by Mixkit
License: Free for commercial and personal use – No attribution required
Home Sound Effect
"Sci Fi Confirmation" by Mixkit
License: Free for commercial and personal use – No attribution required
Loading Sound Effect
"Sharp Riser Cinematic Sound FX (No Copyright)"
by The Audio Horizon SFX
📎 YouTube | 🌐 Website
License: Royalty-Free – Safe for commercial and personal projects
Glitch Sound Effect
"Best GLITCH Sound FX / Royalty Free"
by The Audio Horizon SFX
📎 YouTube | 🌐 Website
License: Royalty-Free – Safe for commercial and personal projects
Win Sound Effect
"Success 1" by Leszek_Szary
📎 Freesound.org Link
License: Creative Commons 0 (CC0) – No attribution required
Lose Sound Effect
"FAIL funny lose sound effect no copyright"
by MNC Music No Copyright
📎 YouTube
Licensed under Creative Commons Attribution 4.0




