Skip to main content
remove broken ImageShack image (and orphaned supporting text), reword title to avoid "1/2-player"
Source Link
Ilmari Karonen
  • 8.4k
  • 1
  • 31
  • 39

How to handle game states for a 1/2single-player / multiplayer game?

I'm developing a little simon-like game and I'd like to know what the best approach is when it comes down to game states.

What would be the best approach?

  • Creating different states/screens for 1-player and 2-player game sessions.
  • Creating just one state/screen with validation from a variable that holds the selection made by the player on the title screen.

This is the sketch I've made so far:

alt text http://img829.imageshack.us/img829/6974/gamestatesflowgraph.png

  1. Title screen (here you select single player or 2 players).
  2. Instructions screen.
  3. Main game screen.
  4. Credits screen.
  5. Demo screen (an automatic version of main game with the words "DEMO MODE").
  6. Program termination.

How to handle game states for a 1/2-player game?

I'm developing a little simon-like game and I'd like to know what the best approach is when it comes down to game states.

What would be the best approach?

  • Creating different states/screens for 1-player and 2-player game sessions.
  • Creating just one state/screen with validation from a variable that holds the selection made by the player on the title screen.

This is the sketch I've made so far:

alt text http://img829.imageshack.us/img829/6974/gamestatesflowgraph.png

  1. Title screen (here you select single player or 2 players).
  2. Instructions screen.
  3. Main game screen.
  4. Credits screen.
  5. Demo screen (an automatic version of main game with the words "DEMO MODE").
  6. Program termination.

How to handle game states for a single-player / multiplayer game?

I'm developing a little simon-like game and I'd like to know what the best approach is when it comes down to game states.

What would be the best approach?

  • Creating different states/screens for 1-player and 2-player game sessions.
  • Creating just one state/screen with validation from a variable that holds the selection made by the player on the title screen.
Post Undeleted by CommunityBot
Post Deleted by CommunityBot
Post Closed as "Opinion-based" by Anko, Seth Battin, House
edited tags
Link
Tetrad
  • 30.1k
  • 12
  • 96
  • 143
edited tags
Link
Tetrad
  • 30.1k
  • 12
  • 96
  • 143
edited tags
Link
Sean James
  • 3.5k
  • 2
  • 31
  • 24
Loading
Source Link
jorge_codes
  • 2.3k
  • 1
  • 19
  • 24
Loading