Skip to content

CaptainTsu/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game

🎮 A classic Tic Tac Toe game with a modern twist! Enjoy playing against a friend or test your skills against the built-in bot. This version features both light and dark themes for a personalized gaming experience.

👨‍💻 Created with ❤️.

You can try it here: https://tic-tac-toe-captain.netlify.app/


⭐️ If you enjoy the game, please give it a star! 🙏 Thank you!


Jump To


Features

  • 1v1 Player Mode: Challenge your friends to a classic Tic Tac Toe match.
  • Bot Mode: Test your skills against an intelligent bot.
  • Light and Dark Themes: Customize your gaming experience with selectable light and dark themes.
  • Responsive Design: Playable on various screen sizes.
  • Simple and Intuitive Interface: Easy to pick up and play.

How to Play

  1. Start a New Game: Choose between 1v1 Player mode or Bot mode.
  2. Take Turns: Players take turns clicking on the empty cells to place their mark (X or O).
  3. Win the Game: The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins the game.
  4. Draw: If all cells are filled and no player has three in a row, the game is a draw.
  5. New Game: Click the restart button to start a new game.

Themes

  • Light Theme: A bright and clean theme for daytime play.
  • Dark Theme: A sleek and modern theme for comfortable nighttime gaming.

Modes

  • 1v1 Player: Play against a friend on the same device. Take turns and see who will emerge as the Tic Tac Toe champion!
  • Bot: Challenge the built-in bot and test your strategic skills. Can you outsmart the AI?

Contributing

Contributions are welcome! Here's how you can contribute:

  1. Fork the Repository: Click the "Fork" button at the top-right of the repository page to create your copy.

  2. Create a New Branch: Create a new branch for your changes:

    git checkout -b feature/your-feature
    
  3. Make Your Changes: Implement your changes or new features.

  4. Commit and Push: Commit your changes and push to your forked repository:

    git add .
    git commit -m "Add your feature"
    git push origin feature/your-feature
    
  5. Submit a Pull Request: Open a pull request from your branch to the main branch of the original repository.


License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published