This document contains the source code for a 3D Tic-Tac-Toe game written in Ring using the RingAllegro and RingOpenGL libraries. The code defines classes for the game logic, interface, cubes, background, sounds, and end screens. Methods handle loading resources, drawing the scene, detecting user input, checking for a winner, and refreshing the game state. OpenGL is used to render 3D cube textures that represent the game board positions.