setting up a state machine

will need to look into concurrent state machines and how to manage what
is looking to be quite tricky code :)

game programming, welcome to the world of IF / ELSE! ....