Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Pay to win tic-tac-toe for Android (play.google.com)
11 points by jsnider3 on Aug 17, 2015 | hide | past | favorite | 4 comments


This was mostly done as a joke, but is also my first Android app.


Hilariously, the blog post http://www.joshuasnider.com/update/android/gaming/2015/08/17... I made about it has about 60% as many words as the program.


Did you implement minimax algorithm?


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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: