jasonrobertfox / tictactoe

An unbeatable game of tic tac toe.
http://perfecttictactoe.herokuapp.com/
GNU General Public License v3.0
183 stars 44 forks source link

Tutorial site is out of date with ruby code #1

Open bitwit opened 9 years ago

bitwit commented 9 years ago

Just thought it was noteworthy, since your tutorial says it was updated 8 months ago that the Github code and what's in the tutorial have some noticeable differences.

In particular your minimax function accepts upperBound and lowerBound arguments which are never discussed.

Handy tutorial, but I'm wondering if it tells the whole picture.

khalidcawl commented 8 years ago

In your tutorial here http://neverstopbuilding.com/minimax under Describing Minimax, how do you determine that states 3 and 4 are O's turn? Those possible states are generated by player X, right? Then why would those two states belong to O? Thank you.