Skip to content

This is my first app for react. I learned the basics of React's component-based structure, managing game state and handling user interactions. Through tutorials and documentation, I gained insight into building interactive web applications using the React JavaScript library.

Notifications You must be signed in to change notification settings

MuhammadZulhusni/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

A simple Tic Tac Toe game built with React.js.

Description

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.

Features

  • 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.

Installation

To run this project locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/MuhammadZulhusni/Tic-Tac-Toe.git
    
  2. Navigate to the project directory:
    cd Tic-Tac-Toe
    
  3. Install dependencies:
    npm install
    
  4. Start the development server:
    npm run dev
    

Technologies Used

  • React.js: A JavaScript library for building user interfaces.
  • Vite: A build tool for modern web development, used for fast development and optimized builds.

Contributing

Contributions are welcome! If you'd like to contribute to the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature (git checkout -b feature/YourFeatureName).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add some feature').
  5. Push to the branch (git push origin feature/YourFeatureName).
  6. Create a new Pull Request.

About

This is my first app for react. I learned the basics of React's component-based structure, managing game state and handling user interactions. Through tutorials and documentation, I gained insight into building interactive web applications using the React JavaScript library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published