I have been writing games for a couple of years and wanted to improve how I organize my code and share it between games and platforms. To facilitate this I have begun extracting the reusable code into a template repository.
This is very much a work-in-progress. I am using it to rewrite my latest game from the ground up and will be adding more components as I go. At the moment it only contains the basic game structure and the tile, sprite, and joypad code.

This template is currently aimed at four neo-retro systems:
- Agon Light
- Aquarius+
- Commander X16
- ZX Spectrum Next
I’ve included an summary of what the template does in its repository. I plan to blog more detailed explanations of various areas in the future. Please comment here if there are any areas you are interested in.
