penguins
1.0.0
|
Go to the source code of this file.
Macros | |
#define | MAX_PLAYERS 9 |
#define | MIN_PLAYER_ID 1 |
#define | MAX_PLAYER_ID 9 |
Functions | |
int | run_autonomous_mode (const Arguments *args) |
static size_t | read_line (FILE *file, char **buf, size_t *line_len) |
bool | load_game_state (Game *game, FILE *file, int penguins_arg, const char *my_player_name) |
bool | save_game_state (const Game *game, FILE *file) |
Variables | |
const char * | MY_AUTONOMOUS_PLAYER_NAME = "102D" |
#define MAX_PLAYERS 9 |
Definition at line 20 of file autonomous.c.
#define MIN_PLAYER_ID 1 |
Definition at line 21 of file autonomous.c.
#define MAX_PLAYER_ID 9 |
Definition at line 22 of file autonomous.c.
int run_autonomous_mode | ( | const Arguments * | args | ) |
Definition at line 24 of file autonomous.c.
Referenced by main().
|
static |
Definition at line 122 of file autonomous.c.
Referenced by load_game_state().
bool load_game_state | ( | Game * | game, |
FILE * | file, | ||
int | penguins_arg, | ||
const char * | my_player_name | ||
) |
Definition at line 142 of file autonomous.c.
Referenced by run_autonomous_mode().
bool save_game_state | ( | const Game * | game, |
FILE * | file | ||
) |
Definition at line 292 of file autonomous.c.
Referenced by run_autonomous_mode().
const char* MY_AUTONOMOUS_PLAYER_NAME = "102D" |
Definition at line 17 of file autonomous.c.
Referenced by run_autonomous_mode().