This document provides code for a 2D space shooter game called "Stars Fighter" built with the Ring game engine. It includes code to load assets like images, sounds and fonts. It defines game states for the main menu and gameplay. Objects are created for the background, player ship, enemy ships and projectiles. Functions handle input, movement, collisions and winning conditions. The code provides a complete prototype for a basic 2D shooter game.