This document contains source code for a 2D game called Stars Fighter written in Ring. The code defines classes and functions for a game engine, game state, and gameplay elements like sprites, sounds and text. It includes a main menu screen and gameplay that allows the player to control a spaceship, shoot enemies, and advance levels by destroying all enemies. The game tracks the player's score, energy level, number of enemies and level.