diff --git a/src/input.c b/src/input.c index ce3f93b..46c3697 100644 --- a/src/input.c +++ b/src/input.c @@ -9,6 +9,7 @@ char getch(void); /*int main(int argc, char ** argv){ +printf("wasd or arrows to control snake, q to quit, p to pause game."); while(1){ getInput(); } @@ -60,9 +61,9 @@ void getInput(){ } pause(){ -while(getch()!='p'){ - sleep(1); -} + while(getch()!='p'){ + sleep(1); + } }