diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-21 17:50:37 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-21 17:50:37 (EDT) |
commit | d97f66ef26c89c8bd805cdeafffa959c91ec278b (patch) | |
tree | 96bf1eabfaece5ad310210dd40ea7f08543a15e0 /src/game.h | |
parent | a9c64a158c369bc370c14dd87567fc030fa050e0 (diff) | |
download | cursespong-d97f66ef26c89c8bd805cdeafffa959c91ec278b.zip cursespong-d97f66ef26c89c8bd805cdeafffa959c91ec278b.tar.gz cursespong-d97f66ef26c89c8bd805cdeafffa959c91ec278b.tar.bz2 |
Add (stationary and invisible) balls to the board.
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2,13 +2,17 @@ #define GAME_H #include "player.h" +#include "ball.h" struct game { struct player *players[2]; char running; + char min_balls; + char cur_balls; + struct ball *balls_head; }; -struct game *new_game(void); +struct game *new_game(char balls); void free_game(struct game *g); void run_game(struct game *g); |