-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.c
43 lines (33 loc) · 1.16 KB
/
main.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
43
/************************************************
main.c
------
$Author: julien colot $
Copyleft
************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <time.h>
#include "ui.h"
/* Function main
* -------------
*
* Point d'entree du jeu, delegue directement a la fonction stateMachine
*/
int main(){
printf(
" \n"
" ________ _______ __ _ _______ __ __ __ __ ___ \n"
" | _ || _ || | | || || | | || |_| || |\n"
" | |_| _|| |_| || |_| ||_ _|| | | || || |\n"
" | |_ | || | | | | | | || || |\n"
" | _ || _ || _ | | | | |_| || || || || |\n"
" | |_| || | | || | | | | | | || ||_|| || |\n"
" |________||__| |__||_| |__| |___| |_______||_| |_||___|\n"
" \n"
);
srand(time(NULL));
stateMachine();
printf("\nBye bye!\n\n");
exit(0);
}