mirror of
https://github.com/caperren/school_archives.git
synced 2025-11-09 13:41:13 +00:00
30 lines
481 B
C++
30 lines
481 B
C++
/*
|
|
* MinimaxPlayer.cpp
|
|
*
|
|
* Created on: Apr 17, 2015
|
|
* Author: wong
|
|
*/
|
|
#include <iostream>
|
|
#include <assert.h>
|
|
#include "MinimaxPlayer.h"
|
|
|
|
using std::vector;
|
|
|
|
MinimaxPlayer::MinimaxPlayer(char symb) :
|
|
Player(symb) {
|
|
|
|
}
|
|
|
|
MinimaxPlayer::~MinimaxPlayer() {
|
|
|
|
}
|
|
|
|
void MinimaxPlayer::get_move(OthelloBoard* b, int& col, int& row) {
|
|
// To be filled in by you
|
|
}
|
|
|
|
MinimaxPlayer* MinimaxPlayer::clone() {
|
|
MinimaxPlayer* result = new MinimaxPlayer(symbol);
|
|
return result;
|
|
}
|