[<< | Prev | Index | Next | >>]

Monday, July 20, 2026

Tic-Tac-Toe for Android



Just walked Claude through writing this simple tic tac toe game for my kids, which y'all are welcome to. It's a python/Kivy application which you can run from source anywhere you have python/kivy installed, or can be installed on android via the apk (which is just a kivy build of the source):

Python Source (and audio files)


Android APK

The way it works: it keeps track of a score as wins minus losses, and the look-ahead depth is the score over 10. So every 10 net wins, the play gets a little harder. When you first run it (score 0) it's playing random moves.

If the next level is too hard, it will bounce back and forth around the margin, so they should always be winning about half the games (until it's all cat's games..).



[<< | Prev | Index | Next | >>]


Simon Funk / simonfunk@gmail.com