Consolidate printing styles, make more generic. Add goal option to create a custom target

This commit is contained in:
Tiehuis
2014-12-06 13:43:00 +13:00
parent 3ca10eb8d5
commit 32a4b483ee
3 changed files with 32 additions and 21 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ struct gamestate {
struct gameoptions* parse_options(struct gameoptions*, int, char**);
void gravitate(struct gamestate*, direction, void (*callback)(struct gamestate*));
void merge(struct gamestate*, direction, void (*callback)(struct gamestate*));
int moves_available(struct gamestate *);
int end_condition(struct gamestate *);
void random_block(struct gamestate *);
int gamestate_tick(struct gamestate*, direction, void (*callback)(struct gamestate*));
void gamestate_clear(struct gamestate*);;