#include <smallBrain.hpp>
//g++ tells me that it could not find "bigBrain.hpp"
#include <examCalendar.hpp>
//automatically updated list of exams
#include <projects.hpp>
//automatically updated list of projects
//#include <luck.hpp>
//ran out of ^ a long time ago
int32_t main(){
while(brain.alive){
while(exams.empty() && brain.work){
brain.think(projects[rand() % projects.size()]);
}
while(!exams.empty() && brain.work){ //most of the time
brain.think(exams[0]); //think the closest exam
}
//TODO: FIND ANOTHER THING TO DO
}
return 0; //end the loop
}
ohasanov-hbrw Goto Github PK
Name: Omer Hasanov
Type: User