redid input handling. Now in two player.