Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 21st, 2010 | Syntax: None | Size: 1.03 KB | Hits: 114 | Expires: Never
Copy text to clipboard
  1. #include <iostream>
  2. #include <fstream>
  3. #include <cstdlib>
  4. #include <cstring>
  5. #include "p3.h"
  6. using namespace std;
  7.  
  8. #define opponent oppononet
  9.  
  10. template <typename T>
  11. T stringtoenum(string c, const string stringNames[], const int MAX, T dummy);
  12.  
  13. Pawn closestOpponent(const Game &game, Color player);
  14.  
  15.  
  16. bool legalForwardMove(const Game &game, Color player, int pawnNum);
  17.  
  18. bool legalBackwardMove(const Game &game, Color player, int pawnNum);
  19.  
  20. Pawn checkBump(Game &game, int square);
  21.  
  22. int checkSlide(Game &game, Color player, int square);
  23.  
  24. void printSlide(Game &game, Color player, Outcome move, int begin, int end);
  25.  
  26. void checkHome (Game &game, Color player, int square);.
  27.  
  28. void clearSquare (Game &game, int square);
  29.  
  30. int distance(const Game &game, int a, int b);
  31.  
  32. int myMain(int argc, char *argv[])
  33. {
  34.         return 0;
  35. }
  36.  
  37. bool initGame(Game &game, int argc, char *argv[])
  38. {
  39. }
  40.  
  41. Outcome eval(const Game &game, Color player)
  42. {
  43.  
  44.         return outcome;
  45. }
  46.  
  47. void apply(Game &game, Color player, Outcome move)
  48. {
  49.        
  50.         return;
  51. }