Skip to content

A simple, interactive Tic-Tac-Toe game built with ReactJS that demonstrates the use of functional components, props, and state management.

Notifications You must be signed in to change notification settings

vinothvino42/tic-tac-toe

Repository files navigation

React Tic Tac Toe

A simple, interactive Tic-Tac-Toe game built with ReactJS that demonstrates the use of functional components, props, and state management using the useState hook.

  • Interactive Gameplay: Players can click on empty cells to place their marks. The board automatically updates after each move.
  • Win/Draw Logic: The game includes logic to detect winning conditions (three marks in a row) or a draw (board full without a winner).
  • Restart Option: Once a game is finished, players can restart the game with a single button click.

Credits

This project is inspired by the course React - The Complete Guide 2024 (incl. Next.js, Redux) by Maximilian Schwarzmüller

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

About

A simple, interactive Tic-Tac-Toe game built with ReactJS that demonstrates the use of functional components, props, and state management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published