finished implementation of the first game mode