Changed the inputs to happen in the state_game
working on.