Skip to content

🎮 This is a simple Tic Tac Toe game built with React. Play against a friend and enjoy some classic fun! 😄✨

License

Notifications You must be signed in to change notification settings

i-am-tj/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game

This is a simple Tic Tac Toe game built with React.

Overview

Tic Tac Toe is a classic two-player game where players take turns marking spaces in a 3x3 grid. The first player to get three of their symbols in a row, column, or diagonal wins the game. If all spaces are filled without any player achieving three in a row, the game is a draw.

Prerequisites

Before you begin, ensure you have the following prerequisites installed:

Node.js: Download and install Node.js

Features

  • Two-Player Game: Play against a friend. User real names (editable).
  • Player Symbols: Players are assigned symbols 'X' and 'O'.
  • Continuous Gameplay: The game continues until there is a winner or a draw.
  • Restart Match: Once the game is completed, players can restart the match for a new game.
  • Turn Log: The game log below the grid shows the turns taken by each player in each cell.

How to Play

  1. Clone the repository.
  2. Navigate to the project directory.
  3. Run npm install to install dependencies.
  4. Run npm run dev to start the development server.
  5. Open your browser and go to http://localhost:5173 to play the game.

Contribution Guidelines

Please read our Contribution Guidelines to learn how to contribute to this project.

Code of Conduct

We expect all contributors to adhere to our Code of Conduct to ensure a welcoming and inclusive community.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

If you have any questions, suggestions, or need assistance, feel free to reach out:

About

🎮 This is a simple Tic Tac Toe game built with React. Play against a friend and enjoy some classic fun! 😄✨

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published