Files
deepMiner/include/RandomBot.h
T
fegger f45f73cb27 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
2026-04-20 12:06:33 +02:00

16 lines
304 B
C++

#pragma once
#include "BaseRobot.h"
class World;
/* Robot that mines a random number of positive blocks from its current column. */
class RandomBot : public BaseRobot {
public:
RandomBot ( int startX, int startY );
int mine ( World &world ) override;
private:
int randomNumber ();
};