Small
Games
A collection of Python games and small experiments.
The Games
Connect Four
A Connect Four opponent powered by alpha-beta minimax, with a quick browser board and rematches.
Open ↗Snake / Snake AI
Play the 20×20 Snake board yourself, or let the Hamiltonian-cycle AI patiently fill it.
Open ↗Hangman
One person enters a secret phrase, then hands the screen over for a local two-player round.
Open ↗Rubik’s Cube
A compact cube workbench for turning, scrambling, and replaying a solution in the browser.
Open ↗Space Invaders
A six-enemy arcade loop with movement, collision, firing, scoring, and respawns.
Open ↗Tic-Tac-Toe
A tiny, stubborn opponent powered by alpha-beta minimax.
Open ↗Sorting Lab
Compare five sorting routines one operation at a time.
Open ↗Pathfinding Lab
Draw walls and watch A*, Dijkstra, breadth-first, depth-first, or greedy search work through them.
Open ↗