This project is an Advanced Tic Tac Toe game.
It's based on a React tutorial link.
The working demo is available here.
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.
This is an extended version of the game.
Available settings:
powerups
Game is controlled by mouse or by touchscreen (on mobile devices).
You have 3 control buttons:
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.
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.
All TODOs and ideas will be stored and updated in this issue.
Feel free to comment !