A simple Tic Tac Toe game built with React.js.
This project is a classic Tic Tac Toe game implemented using React.js. It allows two players to take turns marking spaces on a 3x3 grid, with the goal of getting three of their symbols in a row, column, or diagonal.
- Responsive Design: The game is designed to be responsive and playable on various screen sizes.
- Player vs. Player Gameplay: Two players can play against each other on the same device.
- Game Status Display: The game displays the current player's turn, the winner (if any), or a draw.
- Move History Tracking: The game keeps track of each move made by players, allowing them to review the game's progress.
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/MuhammadZulhusni/Tic-Tac-Toe.git
- Navigate to the project directory:
cd Tic-Tac-Toe
- Install dependencies:
npm install
- Start the development server:
npm run dev
- React.js: A JavaScript library for building user interfaces.
- Vite: A build tool for modern web development, used for fast development and optimized builds.
Contributions are welcome! If you'd like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature (
git checkout -b feature/YourFeatureName
). - Make your changes.
- Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeatureName
). - Create a new Pull Request.