- Tic Tac Toe Game with "AI"
- Functional programming practice project.
-
Set players, name, marker, active
-
Board controller
- togglePlayer func
- IF square clicked add marker to square
- checkWinner func - winner loops through squares and matches up with winner array
- disableSquare func
-
DisplayController
- declareWinner
- declaireTie
-
Reset game function
- Reset button
-
start game function
- Sart button
-
Refactor checkWinner function
-
Fix mobile responsive
-
Add AI
-
Refactor