home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V7 / usr / src / games / chess / data.c < prev    next >
Encoding:
Text File  |  1979-05-05  |  988 b   |  77 lines

  1. int    center[]
  2. {
  3.     2,3,4,4,4,4,3,2,
  4.     3,6,8,8,8,8,6,3,
  5.     4,8,12,12,12,12,8,4,
  6.     4,8,12,14,14,12,8,4,
  7.     4,8,12,14,14,12,8,4,
  8.     4,8,12,12,12,12,8,4,
  9.     3,6,8,8,8,8,6,3,
  10.     2,3,4,4,4,4,3,2
  11. };
  12.  
  13. int    wheur1();
  14. int    wheur2();
  15. int    wheur3();
  16. int    wheur4();
  17. int    wheur5();
  18. int    wheur6();
  19. int    wheur[]
  20. {
  21.     &wheur1,
  22.     &wheur2,
  23.     &wheur3,
  24.     &wheur4,
  25.     &wheur5,
  26.     &wheur6,
  27.     0
  28. };
  29.  
  30. int    bheur1();
  31. int    bheur2();
  32. int    bheur3();
  33. int    bheur4();
  34. int    bheur5();
  35. int    bheur6();
  36. int    bheur[]
  37. {
  38.     &bheur1,
  39.     &bheur2,
  40.     &bheur3,
  41.     &bheur4,
  42.     &bheur5,
  43.     &bheur6,
  44.     0
  45. };
  46.  
  47. int    ipval[]
  48. {
  49.     -3000, -900, -500, -300, -300, -100,
  50.     0,
  51.     100, 300, 300, 500, 900, 3000
  52. };
  53.  
  54. int    moveno    1;
  55. int    depth    2;
  56. int    qdepth    8;
  57. int    mdepth    4;
  58. int    flag    033;
  59. int    eppos    64;
  60. int    bkpos    4;
  61. int    wkpos    60;
  62. int    edge[]
  63. {
  64.     040, 020, 010, 0, 0, 1, 2, 4
  65. };
  66. int    board[]
  67. {
  68.     4, 2, 3, 5, 6, 3, 2, 4,
  69.     1, 1, 1, 1, 1, 1, 1, 1,
  70.     0, 0, 0, 0, 0, 0, 0, 0,
  71.     0, 0, 0, 0, 0, 0, 0, 0,
  72.     0, 0, 0, 0, 0, 0, 0, 0,
  73.     0, 0, 0, 0, 0, 0, 0, 0,
  74.     -1, -1, -1, -1, -1, -1, -1, -1,
  75.     -4, -2, -3, -5, -6, -3, -2, -4,
  76. };
  77.