2780697235
Make World::checkEffects non-const and provide its implementation. Add RandomBot implementation and declare a private randomNumber helper. Add a simple main() entrypoint.
15 lines
252 B
C++
15 lines
252 B
C++
#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;
|
|
|
|
}
|