|
|
@ -38,4 +38,24 @@ int FieldEmpty(const TicTacToeGame* game, int row, int col); |
|
|
|
int decideGameType(); |
|
|
|
Player playRockPaperScissors(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdio.h> |
|
|
|
#include <stdlib.h> |
|
|
|
#include <time.h> |
|
|
|
|
|
|
|
#define max_height 10 |
|
|
|
#define max_width 10 |
|
|
|
#define unknown_character 'x' |
|
|
|
#define mine_character '@' |
|
|
|
|
|
|
|
int end_check(char** minefield, char** mines, int height, int width); |
|
|
|
int field_check(char** minefield, char** mines, int height, int width, int row, int column); |
|
|
|
void show_minefield(char** minefield, int height, int width); |
|
|
|
void free_minefield(char** minefield, int height); |
|
|
|
int calculate_mines(int height, int width); |
|
|
|
char** create_minefield(int height, int width, char within); |
|
|
|
void distribute_mines(char** mines, int height, int width, int num_mines); |
|
|
|
int minesweeper(); |
|
|
|
|
|
|
|
#endif // DUEELIST_SPIELESAMMLUNG_PROJEKT_H |