@raczjonathan12 on Super Tic Tac Toe
I built an AI that plays Ultimate Tic-Tac-Toe, the version where the board is 9 small boards and winning one sends your opponent to a specific one. It learned by playing itself over and over instead of me teaching it moves directly. You can play against it right in your browser, no installs.
The hardest part was the very first approach I tried didn't work. It kept making the same moves no matter what was on the board, so I scrapped it and switched to a different method that actually searches ahead for winning and blocking moves instead of just guessing. That's what ended up working. Getting the trained AI to run inside a browser instead of on a server was its own fight too, closer to translating it into a different language than just copying it over.
If you want to try it, just open the link and play a game. There's also a scoreboard now that keeps track of wins, losses, and draws between you and it.
- 5 devlogs
- 15h