# Level Spawning

The level of the game is made of modular pieces. Each level piece contains a collision box at the start.  When the player collides with this collision box, it triggers another level piece to spawn at the end of the current one, creating an infinite level.

There are three level pieces in total that is randomly selected to spawn each time. More details on how these pieces were designed to appear random and avoid repetition is described in [Level Design](../level-design).
