made victory checks module part of game