Refactored. Created Query for iterations of a Game.