Small
Games

A collection of Python games and small experiments.

The Games

012020

Connect Four

A Connect Four opponent powered by alpha-beta minimax, with a quick browser board and rematches.

Open ↗
022021

Snake / Snake AI

Play the 20×20 Snake board yourself, or let the Hamiltonian-cycle AI patiently fill it.

Open ↗
032020

Hangman

One person enters a secret phrase, then hands the screen over for a local two-player round.

Open ↗
042021

Rubik’s Cube

A compact cube workbench for turning, scrambling, and replaying a solution in the browser.

Open ↗
052021

Space Invaders

A six-enemy arcade loop with movement, collision, firing, scoring, and respawns.

Open ↗
062020

Tic-Tac-Toe

A tiny, stubborn opponent powered by alpha-beta minimax.

Open ↗
072020

Sorting Lab

Compare five sorting routines one operation at a time.

Open ↗
082020–25

Pathfinding Lab

Draw walls and watch A*, Dijkstra, breadth-first, depth-first, or greedy search work through them.

Open ↗