Skip to content

Tic tac toe game, created in React with create-react-app.

License

Notifications You must be signed in to change notification settings

ruljin/react-tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Tic-Tac-Toe

Table of contents

General info

This project is a tic-tac-toe game. The game is always started by the player playing X. The next move is passed to the next player (O) and so on, until the end of the game. On the right, information about which player is currently taking the move or who has won the game is displayed. Below the game status, there is an interactive story that allows you to start the game over or go back to a specific point in time. The game is played by marking the appropriate squares on the board. This is a browser based web application, so no installation is required.

Features

  • the main page contains the tic-tac-toe game,
  • information about the movement of the current player is displayed (X or O),
  • information about the winner is displayed (X or O),
  • an interactive history of moves is displayed, allowing you to go back to the given moment of the game and continue it from there.

Technologies

Application has been moved from CSS/JS to SCSS/TS on 20.05.2022.

  • HTML,
  • SCSS,
  • TS,
  • React.

Setup

If you want to run the application on the local machine, follow these steps:

  1. Clone down this repository
  2. Install dependencies with the command: yarn install
  3. Start development server with the command: yarn start

The application will be available at localhost:3000 to view in the browser. The page will reload if you make edits.
You will also see any lint errors in the console.