kjuraszek / advanced-tic-tac-toe

Advanced Tic Tac Toe made with React
GNU General Public License v3.0
0 stars 0 forks source link

This project is an Advanced Tic Tac Toe game.

It's based on a React tutorial link.
The working demo is available here.

How to run this app ?

Create a new react project:

npx create-react-app advanced-tic-tac-toe

Replace files and catalogues with these from project:

public src readme.md package.json

Running:

npm start

in the project directory runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Running:

npm run build

builds the app for production to the build folder.

Game settings

This is an extended version of the game.
Available settings:

Game controls

Game is controlled by mouse or by touchscreen (on mobile devices).

You have 3 control buttons:

Game rules

X player starts.
Each scoring length long line (vertical, horizontal or diagonal) of exact symbols gives the same amount of points as its length.

Important! Each square can be used only once for each direction (vertical, horizontal or diagonal).

Types of squares:

Gameplay will be extended in the future.

Computer player

There are two levels of a Computer player:

Easy Computer player randomly selects one square.
Hard Computer player seeks for powerup squares and neighbours of "O" squares. If it's impossible to find them he behaves just like Easy Computer.

TODO

All TODOs and ideas will be stored and updated in this issue.
Feel free to comment !