Skip to content

Ram77-code/Anish_Gamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Tic-Tac-Toe with AI โ€“ Built by Anish

A modern, responsive, and AI-powered Tic-Tac-Toe game built using HTML, CSS, and JavaScript.

Challenge yourself against an intelligent AI with multiple difficulty levels and enjoy a smooth, animated UI experience.


โœจ Features

๐Ÿ”ฅ Clean & Modern UI (Inter Font + Glassmorphism feel)
๐Ÿค– AI Opponent with 3 Difficulty Levels
๐ŸŽฏ Easy | Medium | Hard Modes
๐Ÿ“Š Live Scoreboard Tracking
๐ŸŽต Sound Effects Toggle
๐Ÿ“ฑ Fully Responsive Design
๐ŸŽจ Animated Win Line (SVG overlay)
๐Ÿง  Smart AI Logic
๐Ÿ–ผ๏ธ Dynamic Background Canvas


๐Ÿง  AI Difficulty Levels

  • Easy โ†’ Random moves
  • Medium โ†’ Semi-strategic play
  • Hard โ†’ Unbeatable AI (Minimax-based logic)

Think you can beat Hard mode? ๐Ÿ‘€


๐Ÿ› ๏ธ Tech Stack

  • HTML5
  • CSS3 (Modern styling + animations)
  • Vanilla JavaScript
  • SVG for win-line animation
  • Canvas for dynamic background

No frameworks. No libraries. Pure logic.


๐Ÿ“‚ Project Structure

โ”œโ”€โ”€ index.html โ”œโ”€โ”€ style.css โ”œโ”€โ”€ game.js


๐Ÿš€ How to Run Locally

  1. Clone the repository:
    git clone https://github.com/your-username/your-repo-name.git
    
    Open the folder
    

Simply open index.html in your browser

โค๏ธ Built With Passion

โ€œAnish built it by blessing of God.โ€

๐Ÿ”— Live Demo: [See here]

Crafted with logic, design focus, and continuous learning.

๐Ÿ“Œ Connect With Me

If you liked this project, feel free to connect with me on LinkedIn and check out more of my work!

โญ Donโ€™t forget to star the repo if you like it!

I challenged myself to build a modern version of Tic-Tac-Toe โ€” but not just a basic one.

So I added:

โœ… 3 AI Difficulty Levels (Easy, Medium, Hard)
โœ… Unbeatable AI Logic
โœ… Live Scoreboard
โœ… Animated Win-Line (SVG)
โœ… Sound Effects Toggle
โœ… Fully Responsive UI
โœ… Dynamic Canvas Background

The hardest part?
Designing the AI logic and handling different difficulty behaviors cleanly.

This project helped me improve: โ€ข Game state management
โ€ข DOM manipulation
โ€ข AI thinking logic
โ€ข UI structuring & animations

Try beating Hard mode if you can ๐Ÿ‘€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors