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
+1 -1
View File
@@ -24,7 +24,7 @@ class World {
void rearrange ();
// stage 3
int checkEffects ( int x, int y ) const;
int checkEffects ( int x, int y );
private:
int _sizeX, _sizeY, _sizeZ;