# The player only needs to collect some of the gems. game.spawnPlayerXY("knight", 39, 23) # Use game.addCollectGoal(X) to allow the player to win # after collecting only X gems! (In this case, X should be 6) game.addCollectGoal(6)