Skip to content

kushagra-xo/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐱 Tic Tac Toe Game 🎮

image

React JavaScript CSS3 Contributions welcome Last Commit

Welcome to the Tic Tac Toe Game! This fun and simple game is built using React.js. Whether you're a beginner or a seasoned developer, this project is a great way to dive into the world of React. 🎨 Features

  • Interactive Gameplay: Play Tic Tac Toe with a friend!
  • Time travel: Go back to any move
  • Responsive Design: Enjoy the game on any device.
  • Clean UI: Simple and user-friendly interface.
  • Easy to Extend: Modular code structure for easy enhancements.

🚀 Getting Started

Prerequisites

Make sure you have the following installed:

Node.js (v12 or later)
npm (v6 or later) or yarn

Installation

Clone the repository and install the dependencies:

git clone https://github.com/yourusername/tic-tac-toe-react.git
cd tic-tac-toe-react
npm install

Running the Game

Start the development server:

npm start

Open your browser and navigate to http://localhost:3000 to play the game!

🛠️ Usage

The game starts with a blank 3x3 grid. Players take turns clicking on empty squares to place their marks (X or O). The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins the game!

🤝 Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request. Check out our contributing guidelines for more details.

📜 License

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

🎉 Acknowledgements

A big thank you to the React community and all the amazing tutorials out there!