Pathfinding
Five grid search algorithms side by side on walls you draw. The search […]
Vision, audio, deep learning
6 projects02Search, planning, play
6 projects03Desktop, web, systems
3 projects04Pull requests, plugins, tools
6 projects05Animation, 3D, generative visuals
2 projects06Logos, interfaces, systems
3 projectsOutflank and flip your opponent’s discs, against an AI you can switch between minimax, alpha-beta, Monte Carlo tree search and simpler players. Written first in Python, rebuilt for this page in TypeScript.
The first version of this game and its AI was written in Python. Python does not run in a browser, so the board you can play here is a TypeScript rewrite of the same ideas. Pick any of the five opponents below.
Searches every legal move to a fixed depth, assuming each side picks what is best for itself, and backs the scores up the tree.
Minimax that stops exploring a branch as soon as it is proven worse than one already found. It returns the same move, usually after far fewer positions.
Needs no evaluation function. It plays many random games from each candidate move and keeps statistics on which ones win.
Greedy plays the move that looks best one step ahead; random plays anything legal. They show how much the deeper searches actually add.
Each of these has a page of its own, with the steps, the cost and the other places it is used.
Five grid search algorithms side by side on walls you draw. The search […]
A tic-tac-toe opponent that cannot be beaten, built on minimax with […]