/min-max-tic-tac-toe

Min Max algorithm aplied to tic tac toe game

Primary LanguageJavaScript

min-max-tic-tac-toe

Min Max algorithm aplied to tic tac toe game

MiniMax full expansion for tic-tac-toe game

1 - Generate complete tree with all states - Verify if is a final state - Generate childrem

2 - Through depth search get all minimax values

To run code

  • Install Node.js

  • Execute node index.js

  • Done XD