I had this sitting on my hard drive for some time now. It is a very simple game engine showing a basic game architecture (written ECS style), intended for tutorial and reference purposes, so might as well share it here:
https://github.com/glasyalabolas/fb-asteroids
It is a barebones version of Asteroids: no score, no winning nor losing condition. Just the player shooting asteroids until none remains in the galaxy. Shouldn't be too hard to add those, along with more particle effects, stars, and other chrome.
It uses the keyboard 'class' that's on this thread, so it can be considered a field usage example of it.