Skip to content

kartik99917/Tic-Tac-Toe-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic tac toe game

! [TIC TAC TAC TOE SCREENSHOT] ( screenshot01.png )

A simple and interactive implementation of the classic Tic Tac Toe game. Play against a friend or challenge a basic AI opponent!

Characteristics

  • ** two players mode **: Play against a friend on the same device.
  • ** Single player mode **: It is up to a basic AI.
  • ** Responsive Design **: Enjoy the game in various screen sizes.
  • ** Win/Draw detection **: Automatically detects when a player wins or if the game is a draw.
  • ** Redefining game **: easily restart the game at any time.

Technologies used

  • ** border **: HTML, CSS, JavaScript
  • ** Back end **: None (purely the customer's side)
  • ** Other tools **: jQuery (optional for improved interactions)

How to Play

  1. Clone the repository of your local machine: Bash Git clone https://github.com/your-username/tictactoe.git
  2. Open the index.html file on your web browser.
  3. Choose your game mode (player vs. player or player vs. Ai).
  4. Start playing by clicking on the grid to put your brand (x or o).

Installation

No installation is required if you are playing directly on the browser. Just open the index.html file.

For development purposes, you can use a local server to run the game: Bash python -m http.server 8000 Then browse [http: // localhost: 8000] (http: // localhost: 8000) on your browser.

Contributing

The contributions are welcome! If you want to contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch: Bash Checkout Git -b Appeal/YourFeatorenaMe
  3. Understand your changes: Bash GIT COMMIT -M 'Add some feature'
  4. Push for the branch: Bash PUSH GIT/YOURFEATRENAME ORIGIN RESOURCE
  5. Open a traction request.
  6. Make sure your code

About

Two-player mode (Player v Player), Single-player mode (Player v AI), Responsive design for seamless gameplay on different devices, Win/draw detection and game reset functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors