A collection of various projects I
undertook during school years.
Cellular Automata
The origins of my enthusiasm for procedural generation. Cellular automata were somewhat of my first introduction to programming for games (after snake of course). Originally the idea had been to expand this into a game with terraria-like caves and visuals. Iterating over a grid of cells, a game of life-style algorithm determines which cells are allowed to stay solid and which become air. A button was used to swap air and ground to be able to further smooth out the generated terrain.
Bubblesort animated
Computer science class! Originally we were instructed to implement the bubblesort algorithm without any visual implementations, just outputting the result to the console. Me and a buddy of mine took it a step further and implemented a visualization including a simple progress bar.
2D PID controls
PID motion controllers are often used in drones to prevent over or undershooting a target position. This tiny little 2D implementation uses it to grab and throw around little rectangles! Notice how the squares smoothly accelerate and decelerate to the mouse position once grabbed.
Werewolf role generator
Moving away from experimental things, something practical. During times of the epidemic I often gathered friends over voicecall to play games like Werewolf and I wanted a customizable role generator to make the round setup quicker. The solutions was this very barebones UI that spit out a balanced set of roles for my players.
Needless to say
all of these little projects really sparked my interest in programming and game development. It was a lot of fun to make and I hope you enjoyed it as well!