! [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!
- ** 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.
- ** border **: HTML, CSS, JavaScript
- ** Back end **: None (purely the customer's side)
- ** Other tools **: jQuery (optional for improved interactions)
- Clone the repository of your local machine: Bash Git clone https://github.com/your-username/tictactoe.git
- Open the
index.htmlfile on your web browser. - Choose your game mode (player vs. player or player vs. Ai).
- Start playing by clicking on the grid to put your brand (x or o).
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.
The contributions are welcome! If you want to contribute, follow these steps:
- Fork the repository.
- Create a new branch: Bash Checkout Git -b Appeal/YourFeatorenaMe
- Understand your changes: Bash GIT COMMIT -M 'Add some feature'
- Push for the branch: Bash PUSH GIT/YOURFEATRENAME ORIGIN RESOURCE
- Open a traction request.
- Make sure your code