HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by richerlariviere | Hacker News Reader
Full thread
richerlariviere
·
Did you implement minimax algorithm?
View on HN
jsnider3
·
Yeah, the AI decides on the optimal move using a minmax algorithm. The exceptions are for the first move when its playing as X and when "easy mode" is enabled where it just plays randomly.
Reply on news.ycombinator.com