embeddedlibrary
reusable software modules for embedded systems
game_t Struct Reference

game structure More...

Data Fields

void(* callback )(int argc, char *argv[])
 callback (optional)
 
void(* play )(void)
 funtion to initiate playing the game
 
void(* help )(void)
 function to display help info
 
void(* score )(void)
 function to display scores (optional)
 
char * name
 name of the game
 
char * description
 description of the game
 
uint8_t num_players
 number of players (1 by default)
 

Detailed Description

game structure


The documentation for this struct was generated from the following file: