Files
deepMiner/include/RandomBot.h
T
fegger 2780697235 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.
2026-04-15 14:08:52 +02:00

15 lines
289 B
C++

#pragma once
#include "BaseRobot.h"
class World;
class RandomBot : public BaseRobot {
/* A robot that digs at a random depth */
public:
RandomBot ( const int startX, const int startY );
int mine ( World& world ) override;
private:
int randomNumber();
};