setGame method