Commit 5723135e authored by pa's avatar pa

LA MAP

parent 7c745a0e
......@@ -4,7 +4,7 @@
int main(int argc, char** argv){
srand(time(NULL));
srand(0);
Game game(argv[1]);
game.run();
return 0;
......
#include "../headers/utilitary.hpp"
int random_int(int max){return 1 + rand() % max;}
float random_float(){float f = (1.f * rand()) / (1.f * RAND_MAX); return f;}
int random_int(int max){
return 1 + rand() % max;
}
float random_float(){
float f = (1.f * rand()) / (1.f * RAND_MAX); return f;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment