Here's mine (using Xlib): https://www.t3x.org/xt3x/index.html
BBC basic, had an acorn electron at home with nearly the same BASIC installed so I could work on it outside of school but getting the timings right for both machines was hard.
Ended up with two versions selected at runtime.
Me and my best pal at school both wrote versions when we weren’t collaborating on tools to hack the Econet system!
Great times.
It was written in Haxe and compiled to Flash. Doesn't really work anymore in most browsers. I should find the source and recompile as HTML5.
I really miss 486 days, when all you needed to paint pixels on screen full speed was 2 ASM instructions and writing to video memory. Full freedom and creativity without any technical barrier.
https://rauwendaal.net/2014/06/14/rendering-a-screen-coverin...
The gif-backed DemoMode is also very cool.
http://www.cs.northwestern.edu/~agupta/_projects/space_invad...
Or Space Invaders not on modern hardware, or at least on an emulated 8-bit system.