Planet of Hats is a simple 2D platform game with basic but workable rigid body physics. As for the test levels… I took the shape of some of those from some well known games and made then anew.
It spawned the Itty Bitty library, so that's something.
You can find the full code in git.gay