Welcome to the GitHub repository for my Tic Tac Toe game! This project is an interactive, web-based version of the classic game, designed to be simple, fun, and accessible. Play against a friend right from your browser!
- Play multiplayer: Enjoy the game with a friend.
- Responsive design: Play on any device, desktop or mobile.
- Score tracking: Keep track of your number of wins using LocalStorage.
- Offline: Thanks to the service worker you can enjoy the game even without an internet connection.
- HTML5: For structuring the game interface.
- CSS3: For styling and animations.
- JavaScript: For game logic and interactivity.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need to have a modern web browser like Google Chrome, Mozilla Firefox, or Microsoft Edge installed on your computer.
-
Clone the repository:
git clone https://github.com/yourusername/tic-tac-toe.git
-
Navigate to the project directory:
cd tic-tac-toe
-
Open the index.html file in your browser: You can either double-click the file to open it in your default web browser or right-click to choose a specific browser.
- Open the game in a web browser.
- Enter player names.
- Click on the grid to make your move.
- First player to align three of their symbols vertically, horizontally, or diagonally wins!
- Play next game or press the reset button to start a new game with different player names.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch: git checkout -b feature/AmazingFeature
- Commit your Changes: git commit -m 'Add some AmazingFeature'
- Push to the Branch: git push origin feature/AmazingFeature
- Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
- https://playtictactoe.org/ for inspiration