Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <unistd.h>
- #include "../include/Core.hpp"
- int main(int ac, char **av)
- {
- Core core;
- if (core.errorHandlingGetInfo(ac, av) == 84)
- return (84);
- if (core.preloadGameLib() == 84)
- return (84);
- while (true) {
- if (core.getMap()) {
- core.gameAlgo(core.getMap());
- core.checkReturn(core.getMap());
- core.graphAlgo((core.getMap()));
- usleep(90000);
- }
- else
- exit (84);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement