aboutsummaryrefslogtreecommitdiff
path: root/petratc.c
diff options
context:
space:
mode:
authordavid <[email protected]>2026-05-05 10:09:21 -0300
committerdavid <[email protected]>2026-05-05 10:09:21 -0300
commita7f7b091f41410ac10ad59730ebb2f235eb2bb16 (patch)
treeab311bc778863161ce9f56857299adcf37f0da20 /petratc.c
parentc96ea5f3ebf506794e3222a277f88036618e7e35 (diff)
downloadpetratc-a7f7b091f41410ac10ad59730ebb2f235eb2bb16.tar.gz
petratc-a7f7b091f41410ac10ad59730ebb2f235eb2bb16.zip
started maze game it's just a walking simulator for now
Diffstat (limited to 'petratc.c')
-rw-r--r--petratc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/petratc.c b/petratc.c
index 0a60b46..b12a4f4 100644
--- a/petratc.c
+++ b/petratc.c
@@ -108,7 +108,7 @@ int truing = 1;
printrat();
while(truing){
- printf("1: play a game! (fun up), 4: take a shower! (clean up), 9: print me!, 0: exit...\n");
+ printf("1: play a game! (fun up), 2: go down to the maze... (hunger up), 4: take a shower! (clean up), 9: print me!, 0: exit...\n");
if(scanf("%d", &choice) != 1){
while(getchar() != '\n'); //flush the bad input if you're a bad boy and put q instead of 1
@@ -117,6 +117,7 @@ int truing = 1;
switch(choice){
case 1: gameguess(); break;
+ case 2: gamemaze(); break;
case 4: gamecatch(); break;
case 9: printrat(); break;
case 0: truing = 0; break;