f45f73cb27
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
13 lines
271 B
C++
13 lines
271 B
C++
#pragma once
|
|
|
|
#include "BaseRobot.h"
|
|
|
|
class World;
|
|
|
|
/* Robot that mines up to three positive blocks per turn from its current column. */
|
|
class DigDeepBot : public BaseRobot {
|
|
public:
|
|
DigDeepBot ( int startX, int startY );
|
|
int mine ( World &world ) override;
|
|
};
|