embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
game_t Struct Reference

game structure More...

Data Fields

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

Detailed Description

game structure

Field Documentation

void(* callback)(int argc, char *argv[])

callback (optional)

char* description

description of the game

void(* help)(void)

function to display help info

char* name

name of the game

uint8_t num_players

number of players (1 by default)

void(* play)(void)

funtion to initiate playing the game

void(* score)(void)

function to display scores (optional)


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