Skip to content

CodeWithTanim/Tik-Tak-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

🔥 Tic-Tac-Toe 🕹️

A Futuristic Tic-Tac-Toe Experience with AI Challenges
Play against friends or battle an unbeatable AI! 🧠
Built with HTML, CSS, JavaScript | 2-Player & Single-Player Modes


🚀 Features

Single-Player Modes

  • Easy: Random AI moves 🤖
  • Normal: Smart blocking & winning 🧩
  • Hard: Unbeatable AI (Minimax Algorithm) ☠️

Multiplayer Mode

  • Play with friends locally 👥

Cyberpunk UI

  • Neon animations & gradients 💠
  • Confetti explosions on win 🎉
  • Responsive design 📱💻

Extras

  • Home navigation 🏠
  • Real-time turn indicator 💡
  • Win/draw detection 🏆
  • Restart anytime 🔄

🖼️ Preview

Home Page
Game Mode Sellector
Play With Friends
Player V/S Computer
Player V/S Player
Player V/S Computer Winning
Player V/S Player Winning


🎮 How to Play?

Single-Player

  1. Select "Play vs AI" 🤖
  2. Choose difficulty:
    • Easy: Random moves
    • Normal: Strategic defense
    • Hard: Perfect AI (impossible to win)
  3. Play as ❌ against AI (⭕)

Multiplayer

  1. Enter player names 👤👤
  2. Alternate turns placing ❌ and ⭕
  3. First to 3 in a row wins!

⚡ Quick Start

Play Online

🌐 Live Demo

Local Setup

git clone https://github.com/CodeWithTanim/Tik-Tak-Toe.git
cd Tik-Tak-Toe
open index.html

🛠️ Tech Stack

  • Frontend: HTML5, CSS3, JavaScript
  • Animations: Canvas Confetti 🎊
  • AI: Minimax Algorithm 🧠

📬 Connect & Support

👾 **Found a bug?** Open an issue
⭐ **Enjoying the game? Star the repo!**
🔄 **Want to contribute?** PRs are welcome!

About

This is a Tik-Tak-Toe Game made by CodeWithTanim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published