A reusable foundation for any 2D game, built from scratch in vanilla JavaScript, no frameworks, no libraries