Working version of the game