|
|
|
@ -39,5 +39,7 @@ void revealCell(int** gameBoard, int** hiddenGameBoard, int size, int row, int c
|
|
|
|
void getPositionIndices(int row, int col, Position* pos);
|
|
|
|
void getPositionIndices(int row, int col, Position* pos);
|
|
|
|
void getNewPosition(Position* pos, int dx, int dy, Position* newPos);
|
|
|
|
void getNewPosition(Position* pos, int dx, int dy, Position* newPos);
|
|
|
|
void setFlag(int** hiddenGameBoard, int row, int col, int* numFlags);
|
|
|
|
void setFlag(int** hiddenGameBoard, int row, int col, int* numFlags);
|
|
|
|
|
|
|
|
bool checkWin(int** gameBoard, int** hiddenGameBoard, int size, int numBombs, int numFlags);
|
|
|
|
|
|
|
|
void handleBombExploded();
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* INC_SPIELFELD_H_ */
|
|
|
|
#endif /* INC_SPIELFELD_H_ */
|
|
|
|
|