Add LookaheadBot with lookahead and mining

This commit is contained in:
2026-04-26 21:38:07 +02:00
parent 42876c1a93
commit 727caa7b90
2 changed files with 55 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#pragma once
#include "BaseRobot.h"
class LookaheadBot : public BaseRobot {
public:
LookaheadBot( int startX, int startY );
int mine( World& world ) override;
int decideNextMove( const World& world ) const override;
private:
int lookaheadScore( const World& world, int x, int y, int depth ) const;
};