Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abdelmalek-maskri/tic-tac-toe-react

a user friendly tic-tac-toe
https://github.com/abdelmalek-maskri/tic-tac-toe-react

Last synced: 1 day ago
JSON representation

a user friendly tic-tac-toe

Awesome Lists containing this project

README

        

# Tic-Tac-Toe-react

A simple and interactive Tic-Tac-Toe game built with React. This project features a playable game board where users can take turns playing as 'X' or 'O', track their moves, and sort them in ascending or descending order.
check it out here 😇 [myfav-tic-tac-toe.netlify.app](https://myfav-tic-tac-toe.netlify.app/)

## Features

- **Interactive Game Board**: Players can click on squares to make their moves.
- **Move History**: View and jump to previous moves in the game.
- **Sorting Options**: Toggle between ascending and descending order for move history.
- **Win Detection**: Displays the winner and the winning line, or announces a draw if the board is full.

## Usage

-**Play the Game**: Click on the squares to make a move. The game alternates between 'X' and 'O'.
-**View Move History**: Click on the buttons in the move history section to jump to specific moves.
-**Sort Moves**: Click the "Sort Ascending" or "Sort Descending" button to change the order of the move history.