Implement World rearrange and add RandomBot and main

Make World::checkEffects non-const and provide its implementation.
Add RandomBot implementation and declare a private randomNumber helper.
Add a simple main() entrypoint.
This commit is contained in:
2026-04-15 14:08:52 +02:00
parent 22e8ea8d46
commit 2780697235
5 changed files with 83 additions and 4 deletions
+14
View File
@@ -0,0 +1,14 @@
#include <iostream>
#include "include/Game.h"
int main () {
try {
Game game;
game.run ();
} catch ( const std::exception& e ) {
std::cerr << "Fatal Error: " << e.what() << "\n";
return 1;
}
return 0;
}