https://www.theodinproject.com/courses/javascript/lessons/tic-tac-toe-javascript?ref=lnav
- Setup skeleton HTML/CSS/JS
- Create a Game Module, Board Object, Player Object (tip: if you only need 1, use a module; else use factories)
- setup html and render contents
- Allow players to move, then tie it to the DOM (click); validate
- check for victory
- keep score, track time, restart button
- Start by just getting the computer to make a random legal move.
- Once you’ve gotten that, work on making the computer smart. It is possible to create an unbeatable AI using the minimax algorithm (read about it here, some googling will help you out with this one)
- If you get this running definitely come show it off in the chatroom. It’s quite an accomplishment!