Untitled
By: a guest | Mar 21st, 2010 | Syntax:
None | Size: 1.03 KB | Hits: 114 | Expires: Never
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cstring>
#include "p3.h"
using namespace std;
#define opponent oppononet
template <typename T>
T stringtoenum(string c, const string stringNames[], const int MAX, T dummy);
Pawn closestOpponent(const Game &game, Color player);
bool legalForwardMove(const Game &game, Color player, int pawnNum);
bool legalBackwardMove(const Game &game, Color player, int pawnNum);
Pawn checkBump(Game &game, int square);
int checkSlide(Game &game, Color player, int square);
void printSlide(Game &game, Color player, Outcome move, int begin, int end);
void checkHome (Game &game, Color player, int square);.
void clearSquare (Game &game, int square);
int distance(const Game &game, int a, int b);
int myMain(int argc, char *argv[])
{
return 0;
}
bool initGame(Game &game, int argc, char *argv[])
{
}
Outcome eval(const Game &game, Color player)
{
return outcome;
}
void apply(Game &game, Color player, Outcome move)
{
return;
}