|
@ -3,6 +3,7 @@ |
|
|
#include <stdbool.h> |
|
|
#include <stdbool.h> |
|
|
|
|
|
|
|
|
#include "Template/game100.h" |
|
|
#include "Template/game100.h" |
|
|
|
|
|
#include "Snake/snake_start.h" |
|
|
|
|
|
|
|
|
int main(){ |
|
|
int main(){ |
|
|
bool running = true; |
|
|
bool running = true; |
|
@ -13,7 +14,7 @@ int main(){ |
|
|
|
|
|
|
|
|
system("clear"); |
|
|
system("clear"); |
|
|
printf("Waehlen Sie eine Option:\n"); |
|
|
printf("Waehlen Sie eine Option:\n"); |
|
|
printf("\t1.Spiel1 starten\n"); |
|
|
|
|
|
|
|
|
printf("\t1.Snake starten\n"); |
|
|
printf("\t2.Spiel2 starten\n"); |
|
|
printf("\t2.Spiel2 starten\n"); |
|
|
printf("\t3.Spiel3 starten\n"); |
|
|
printf("\t3.Spiel3 starten\n"); |
|
|
printf("\t4.Spiel4 starten\n"); |
|
|
printf("\t4.Spiel4 starten\n"); |
|
@ -25,7 +26,7 @@ int main(){ |
|
|
|
|
|
|
|
|
switch (option){ |
|
|
switch (option){ |
|
|
case 1: |
|
|
case 1: |
|
|
//start_game1(); |
|
|
|
|
|
|
|
|
snake_start(); |
|
|
break; |
|
|
break; |
|
|
case 2: |
|
|
case 2: |
|
|
//start_game2(); |
|
|
//start_game2(); |
|
|