"Work consists of whatever a body is obliged to do, and Play consists of whatever a body is not obliged to do."

Mark Twain, The Adventures of Tom Sawyer

Of course, Tom's intentions were less than noble; he was conning the other boys into painting his fence. But the observation holds up anyway.

Everything on this page started as work. Learning a new tool, keeping skills current, doing the sensible thing. Somewhere in the building, it turned into play: the kind you are not obliged to do and can't quite stop doing.

These are small, interactive computer science pages. Each one takes a single idea and makes it something you can poke at, break, and watch run.

So here's the fence. It's more fun than it looks, and you don't have to take my word for it. Take a brush.

Projects
Almost Intelligent
Tic-Tac-Toe AI: Watch the algorithm evaluate every possible future before it moves.

How smart do you have to be?
Scotty, We Need More Power!
Sorting Algorithm Race: Why some are fast, some are slow, and one is both.

It's not about power.
Fibonacci... Remember?
Recursion Visualized: Be careful what you throw away. The cost may compound.

The penalty of discarded knowledge.
Kings and Queens of Cryptography
Secret Message Creators: Two thousand years of secret messages. Caesar, Elizabeth, and "hidden writing".

Crypto 1 → Don't lose your head!
Public Displays of Encryption
Weapons Grade Encryption: The math that quietly protects almost everything you do online.

Crypto 2 → Doing your business in public.
Rats are A-Maze-Ing
How to Search: Three algorithms, one maze, one clock.

Career advice, from a rat.
Natural Funativity
SNAKE game: Why is anything fun? And why do some people use that against you?

Games 1 of 3
Finding the Fun
LANDER game: A game about momentum PLUS a question about whose goals you are actually chasing.

Games 2 of 3