IOCT Masters in Creative Technogies
Major Project
An augmented reality game based on "Breakout"

Wednesday 11 June 2008

State transition

Working from the initial state transition diagram that was presented in the project proposal and presentation, I coded eight states for the game. The states take the player through the game, linking one state to the next depending on the outcome of each game. For example, the game over state may lead to the enter high score state (if the score is greater than the lowest high score) or to the view high score state (if the score is lower than the lowest high score).

The states are:
  • Initialisation
  • Startup
  • Countdown
  • Playing
  • Game over
  • Congratulations
  • Enter high score
  • View high score