methods added to determine whether solution is being checked or whether a new game needs to be generated