Refactor code style, comments, and robot implementations

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
This commit is contained in:
2026-04-20 12:06:33 +02:00
parent 7dace654d3
commit f45f73cb27
16 changed files with 353 additions and 217 deletions
+3 -4
View File
@@ -1,14 +1,13 @@
#include <iostream>
#include "include/Game.h"
#include <iostream>
int main () {
try {
Game game;
game.run ();
} catch ( const std::exception& e ) {
game.run();
} catch ( const std::exception &e ) {
std::cerr << "Fatal Error: " << e.what() << "\n";
return 1;
}
return 0;
}