Game States

2025/12/27

Type
Learning Resource
Format
Glossary Article
Version
General
Subject Tags
Code
Assets
All else
Copyright 2016-2026, GDQuest
Created
2026/02/16
Updated
2025/12/27

Game States

Just like a finite state machine has distinct states, a game almost always has distinct phases that serve various functions and with which the player interacts in different ways. These phases are commonly called game states.

From a high vantage point, a game can be seen as a series of states that follow each other. Typically, a game starts in a menu state, then transitions to a gameplay state, and finally to a game over state. Each of these states has its own set of rules, behaviors, and interactions.

Most games have more states, or phases. A multiplayer game, for example, might have a lobby state where players can join the game, a waiting state where players wait for the game to start, and a gameplay state where the actual game is played.

Become an Indie Gamedev with GDQuest!

Don't stop here. Step-by-step tutorials are fun but they only take you so far.

Try one of our proven study programs to become an independent Gamedev truly capable of realizing the games you’ve always wanted to make.

Nathan

Founder and teacher at GDQuest
  • Starter Kit
  • Learn Gamedev from Zero
Check out GDSchool

You're welcome in our little community

Get help from peers and pros on GDQuest's Discord server!

20,000 membersJoin Server

Contribute to GDQuest's Free Library

There are multiple ways you can join our effort to create free and open source gamedev resources that are accessible to everyone!