Skip to content

A feature-rich Tic Tac Toe web game with AI opponent. Includes 17 visual themes (dark, neon, ocean, etc.), 3 AI difficulty levels, customizable player symbols, score tracking, move history, and undo functionality. Responsive design with modern UI and smooth animations.

License

Notifications You must be signed in to change notification settings

certainmed/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game

Description

Tic Tac Toe Game is a classic game implemented using HTML, CSS, and JavaScript. This game allows you to play against an AI with various difficulty levels, theme options, and additional features such as undo move, round reset, and game history tracking.

Main Features

  • Responsive Design: The game adjusts to different screen sizes, making it comfortable to play on both desktop and mobile devices.
  • Multiple Themes: Choose from a variety of themes via the settings panel, including:
    • Light (default)
    • Dark
    • Minimalist
    • Ocean
    • Forest
    • Sunset
    • Monochrome
    • Retro
    • Neon
    • Pastel
    • Autumn
    • Space
    • Colorful
    • Cyberpunk
    • Coffee
    • Candy
    • Beach
  • AI Difficulty Levels:
    • Easy: The AI makes moves randomly with minimal strategy.
    • Medium: The AI uses a combination of basic strategy and random moves.
    • Hard: The AI employs a Minimax algorithm (with a slight random element) to be nearly unbeatable.
  • Game Controls:
    • Undo Move: Revert the last two moves (both the player's and the AI's).
    • Reset Round: Clear the board and start a new round.
    • Reset Scores: Reset the scores for both the player and the AI.
    • Game History: View a log of moves made during the game.
  • Settings Panel: Customize the game by choosing your preferred theme, AI difficulty level, and player symbol (X or O).

How to Play

  1. Launch the Game:
    Open the index.html file in your preferred web browser.
  2. Start Playing:
    On the main screen, you will see the Tic Tac Toe board, score display, and status message.
  3. Make a Move:
    Click on any empty cell to place your symbol. After your move, the AI will respond after a brief delay.
  4. Use the Controls:
    Use the available buttons to change game settings, undo moves, reset the round, or reset scores.
  5. Customize Settings:
    Click the Game Settings button to open the settings panel and select your preferred theme, AI difficulty, or player symbol.

About

A feature-rich Tic Tac Toe web game with AI opponent. Includes 17 visual themes (dark, neon, ocean, etc.), 3 AI difficulty levels, customizable player symbols, score tracking, move history, and undo functionality. Responsive design with modern UI and smooth animations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published