flm
This commit is contained in:
		
							parent
							
								
									31033a7d53
								
							
						
					
					
						commit
						8f24a307f8
					
				| @ -12,6 +12,8 @@ | ||||
| #ifndef SPACE_CONFIGMANAGEMENT_H | ||||
| #define SPACE_CONFIGMANAGEMENT_H | ||||
| 
 | ||||
| #include<climits> | ||||
| 
 | ||||
| /*
 | ||||
|  * This header will only be imported once, but Djalim told me he would hurt me | ||||
|  * if I didn't move it into his own header file instead of the cpp file | ||||
|  | ||||
| @ -154,8 +154,5 @@ Position Game::invIndexToPos(unsigned x, unsigned y) const { | ||||
| } | ||||
| 
 | ||||
| bool Game::arePlayersDead() { | ||||
| 	for(Player& p : players){ | ||||
| 		if(!p.isEliminated())return false; | ||||
| 	} | ||||
| 	return true; | ||||
| 	return all_of(players.begin(), players.end(), [](Player& p){return p.isEliminated();}); | ||||
| } | ||||
|  | ||||
| @ -18,7 +18,7 @@ | ||||
| // Our own format : kustom
 | ||||
| #define SCORE_FILE "scores.kus" | ||||
| 
 | ||||
| #define SECRET_KEY "WeAreAGroupOf3" | ||||
| #define SECRET_KEY "HelloWorld" | ||||
| 
 | ||||
| void readWholeFile(const ifstream& ifs, string& str){ | ||||
| 	stringstream ss; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user