Add LookaheadBot with lookahead and mining
This commit is contained in:
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user