Python
RPG One — A Python Story
An attempt to build a role-playing game for the command line. Unfinished, and the title
says so. Still my favourite project from the learning years, because it was the first
time I had to think about structure rather than just syntax.
RPG One on GitHub
C#
Rock, Paper, Scissors, Lizard, Spock
The extended version of the classic. Sounds silly, but it's an excellent exercise: five
rules, ten pairings, and suddenly a nested chain of conditionals stops being a good idea.
View repository
C#
Bubble sort, derived from scratch
Without looking it up, using only what I knew at the time. Not the world's fastest
sorting algorithm — but the moment you understand why the inner loop is allowed
to get shorter is priceless.
View repository
C#
City, Country, River
A free assignment, tackled blind: validating input, randomness, scoring, game rounds.
The first project where I noticed that the rules of the game are harder than the code.
View repository
C#
Tic-tac-toe
Also without a template. Three rows, three columns, two diagonals — and the realisation
that a board is better thought of as a data structure than as nine variables.
View repository
Web
This website
Written by hand: HTML, one stylesheet, two small scripts. No framework, no build step, no
dependencies on anybody else's servers. Loads fast, works without JavaScript, and will
still open in ten years' time.