dispatch step function by game state