f45f73cb27
Move UML PDF to doc/ and update .gitignore. Normalize includes, whitespace and function signatures across headers/sources and add concise class/function documentation. Fix RandomBot so the mine limit is computed once and simplify DigDeepBot/SortBot mining logic. Tidy World/Game initialization, error handling, and minor const/var clarifications for readability and correctness
14 lines
250 B
C++
14 lines
250 B
C++
#include "include/Game.h"
|
|
#include <iostream>
|
|
|
|
int main () {
|
|
try {
|
|
Game game;
|
|
game.run();
|
|
} catch ( const std::exception &e ) {
|
|
std::cerr << "Fatal Error: " << e.what() << "\n";
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|