diff options
Diffstat (limited to 'src/ring.c')
-rw-r--r-- | src/ring.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -44,3 +44,13 @@ bool drop_ring() { held = NULL; return true; } + +bool check_win_condition() { + int i; + + for(i = 0; i < 3; ++i) { + if(rings[i].location != 2) return false; + } + + return true; +} |