aboutsummaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-02-15 12:53:35 -0500
committerJeffrey Armstrong <jeff@approximatrix.com>2020-02-15 12:53:35 -0500
commitec5e20c1ac12213ce543c3eefa1eec1032ebbd1a (patch)
treef049890bbf8c74818fbc3c31003b9b4319b53a00 /player.h
parent950dccf203a561a2748941a3addc5cca25b77b99 (diff)
downloadgemworm-ec5e20c1ac12213ce543c3eefa1eec1032ebbd1a.zip
gemworm-ec5e20c1ac12213ce543c3eefa1eec1032ebbd1a.tar.gz
Added a score to the game that redraws nicely!
Diffstat (limited to 'player.h')
-rw-r--r--player.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player.h b/player.h
index acf8030..f9381d0 100644
--- a/player.h
+++ b/player.h
@@ -31,6 +31,7 @@ typedef struct {
WUNIT *head;
char dir;
int grow;
+ int score;
} WPLAYER;
#define WUP 0