This document contains C++ code for a Tetris game. It defines classes and functions for representing Tetris shapes, moving and rotating the shapes, generating a falling sequence of shapes, and handling game logic and drawing the game board. Key aspects include a TetrisShape class to represent game pieces, functions for populating shape arrays, moving/rotating shapes, generating a random sequence of falling shapes, and a game tick function that handles core game logic like shape movement/falling and checking for completed lines to remove.