Implemented a loop to play through all states for every player.