12 lines
342 B
C++
12 lines
342 B
C++
#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;
|
|
};
|