Skip to content
Snippets Groups Projects
Commit 97dd5dd8 authored by antoinemeyer5's avatar antoinemeyer5
Browse files

clean main.c et main.h

parent 1a347114
No related branches found
No related tags found
No related merge requests found
......@@ -3,18 +3,15 @@
int running;
int game_state;
int main(){
//float ***** Q = allocateAndInitiateQ();
//writeQ(Q);
int main()
{
running = 1;
game_state = GAME;
readMapFromFile("map.txt");
//printMap();
initPlayer();
initKeys();
initBall();
mainLoop();
}
\ No newline at end of file
}
\ No newline at end of file
#ifndef _MAIN_HEADER_
#define _MAIN_HEADER_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......@@ -19,12 +18,10 @@
#include "map.h"
#include "qlearn.h"
#define MENU 0
#define GAME 1
extern int running;
extern int game_state;
#endif
\ No newline at end of file
#endif
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment