-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmiu.c
42 lines (34 loc) · 1003 Bytes
/
miu.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* MU-puzzle Game
*
* @author: dimas.crocco
*/
#include <stdio.h>
#include <stdlib.h>
int youCan = 1;
char option;
void main() {
printf("MIU-System Game\n");
while(youCan) {
system("cls"); system("clear"); // cros platform =]
printf("1. Mxi -> Mxiu\n");
printf("2. Mx -> Mxx\n");
printf("3. Mxiii -> Mxu\n");
printf("4. MxUU -> Mx\n");
printf("0. exit\n");
printf(">> ");
scanf(" %c", &option);
//option = getch();
switch (option) {
case '1':
printf("alow\n");
break;
case '2':
printf("blah\n");
break;
case '3':
printf("bye bye...\n");
exit(0);
}
}
}