Repository for a Dev.to article
- 2 players (DONE basic, actually 1 player for different turn)
- End game when winner is found (DONE)
- End game when no more step to go, even no winner is found (DONE)
- Reset game function (DONE)
- Front-end only, no backend needed. Odd/Even mouse click demonstrate player1/player2 step (DONE)
=> In basic, this repo have adapt requirements. So next step just clean up, architect this and add some interesting features to make it awesome.
3.1 Complex State
-> need state management
3.1.1: Basic (DONE) (12h53am - 1h50am)
3.1.2: Add Constant & Selector (DONE) (1h50am - 2h16am)
3.2 Refactor core logic of tic tac toe (DONE) (2h16am - 2h41am)
3.3 Add undo feature (DONE) (2h41am - 3h26am)
Total: 12h53am - 3h26am = 3h33p