To render, the game takes information about the current state of the game like colors, positions, and physics and then creates the frame.