Author Topic: Checkers  (Read 3606 times)

0 Members and 1 Guest are viewing this topic.

Offline SierraKen

  • Forum Resident
  • Posts: 1454
    • View Profile
Checkers
« on: February 02, 2020, 05:43:43 pm »
I have this on the Chess thread but decided to make a new thread in case anyone wants to comment or add or change anything to this game.

From the other thread:
I got pretty close to finishing a 2-person checkers game after a week of programming every day. But I can't figure out how to keep the king symbol on a king checker piece. The symbol shows up fine on it when you get to the other side, but then when you move again it's deleted. I'm sure I didn't do the variables the right way. I actually just tossed in variables not knowing exactly what they do which is totally not good. I also am getting hang-ups every once in awhile where it won't let you plot coordinates (I don't even use the mouse in this game). So, I will probably either take a long break on this game or just give up on it.
Feel free to have the code anyone, if you wish to do anything with it. Just remember the king symbol doesn't stay and once in awhile maybe it won't let you plot (not sure I may have fixed that). The only reason I'm posting the code today is to show everyone how good I actually did make it so far. You can jump, but only do 1 jump per move. So all in all, it's a very rough and bad way to play checkers, but it is the best one I've made so far. Oh also, it does say which player wins when they do win. I've only played 1 full game of it myself. And like 40 other tries of fixing things. lol Been a crazy little program. But for now, I'm finished with it myself.


Code: QB64: [Select]
  1. _TITLE "1 Jump - 2 Player Checkers - by Ken G."
  2. SCREEN _NEWIMAGE(800, 600, 32)
  3. DIM black2(88), red2(88), bking(88), rking(88)
  4.  
  5. 'Make checkerboard
  6. LINE (149, 49)-(651, 551), _RGB32(255, 255, 255), B
  7. FOR ly = 50 TO 487.5 STEP 125
  8.     FOR lx = 212.5 TO 650 STEP 125
  9.         LINE (lx - 62.5, ly)-(lx, ly + 62.5), _RGB32(255, 0, 0), BF
  10.     NEXT lx
  11.     FOR lx = 212.5 TO 650 STEP 125
  12.         LINE (lx, ly + 62.5)-(lx + 62.5, ly + 125), _RGB32(255, 0, 0), BF
  13.     NEXT lx
  14.     FOR lx = 275 TO 650 STEP 125
  15.         LINE (lx - 62.5, ly)-(lx, ly + 62.5), _RGB32(0, 0, 0), BF
  16.     NEXT lx
  17.     FOR lx = 150 TO 587.5 STEP 125
  18.         LINE (lx, ly + 62.5)-(lx + 62.5, ly + 125), _RGB32(0, 0, 0), BF
  19.     NEXT lx
  20. NEXT ly
  21. COLOR _RGB32(255, 255, 255)
  22. LOCATE 3, 87: PRINT "Red"
  23. LOCATE 4, 87: PRINT "From:"
  24. LOCATE 9, 87: PRINT "To:"
  25. LOCATE 3, 5: PRINT "Black"
  26. LOCATE 4, 5: PRINT "From:"
  27. LOCATE 9, 5: PRINT "To:"
  28.  
  29. COLOR _RGB32(127, 255, 255)
  30. FOR lx = 170 TO 607.5 STEP 62.5
  31.     h = h + 1
  32.     h$ = STR$(h)
  33.     _PRINTSTRING (lx, 30), h$
  34. NEXT lx
  35. COLOR _RGB32(128, 249, 127)
  36. FOR ly = 70 TO 507.5 STEP 62.5
  37.     v = v + 1
  38.     v$ = STR$(v)
  39.     _PRINTSTRING (120, ly), v$
  40. NEXT ly
  41. h = 0: v = 0
  42. COLOR _RGB32(127, 255, 255)
  43. FOR lx = 170 TO 607.5 STEP 62.5
  44.     h = h + 1
  45.     h$ = STR$(h)
  46.     _PRINTSTRING (lx, 560), h$
  47. NEXT lx
  48. COLOR _RGB32(128, 249, 127)
  49. FOR ly = 70 TO 507.5 STEP 62.5
  50.     v = v + 1
  51.     v$ = STR$(v)
  52.     _PRINTSTRING (660, ly), v$
  53. NEXT ly
  54.  
  55. 'setup pieces
  56. 'black
  57. ly = 50
  58. FOR lx = 212.5 TO 650 STEP 125
  59.     CIRCLE (lx + 31.25, ly + 31.25), 20, _RGB32(50, 50, 50)
  60.     PAINT (lx + 31.25, ly + 31.25), _RGB32(50, 50, 50)
  61. NEXT lx
  62. FOR lx = 212.5 TO 650 STEP 125
  63.     CIRCLE (lx - 31.25, ly + 93.75), 20, _RGB32(50, 50, 50)
  64.     PAINT (lx - 31.25, ly + 93.75), _RGB32(50, 50, 50)
  65. NEXT lx
  66. FOR lx = 212.5 TO 650 STEP 125
  67.     CIRCLE (lx + 31.25, ly + 156.25), 20, _RGB32(50, 50, 50)
  68.     PAINT (lx + 31.25, ly + 156.25), _RGB32(50, 50, 50)
  69. NEXT lx
  70. 'red
  71. ly = 206.25
  72. FOR lx = 212.5 TO 650 STEP 125
  73.     CIRCLE (lx - 31.25, ly + 187.5), 20, _RGB32(200, 50, 50)
  74.     PAINT (lx - 31.25, ly + 187.5), _RGB32(200, 50, 50)
  75. NEXT lx
  76. FOR lx = 212.5 TO 650 STEP 125
  77.     CIRCLE (lx + 31.25, ly + 250), 20, _RGB32(200, 50, 50)
  78.     PAINT (lx + 31.25, ly + 250), _RGB32(200, 50, 50)
  79. NEXT lx
  80. FOR lx = 212.5 TO 650 STEP 125
  81.     CIRCLE (lx - 31.25, ly + 312.5), 20, _RGB32(200, 50, 50)
  82.     PAINT (lx - 31.25, ly + 312.5), _RGB32(200, 50, 50)
  83. NEXT lx
  84.  
  85. 'The coordinate variables use a 2 digit number, the first digit is the horizon, the second is the vertical.
  86. black2(1) = 12
  87. black2(2) = 14
  88. black2(3) = 16
  89. black2(4) = 18
  90.  
  91. black2(5) = 21
  92. black2(6) = 23
  93. black2(7) = 25
  94. black2(8) = 27
  95.  
  96. black2(9) = 32
  97. black2(10) = 34
  98. black2(11) = 36
  99. black2(12) = 38
  100.  
  101. red2(9) = 81
  102. red2(10) = 83
  103. red2(11) = 85
  104. red2(12) = 87
  105.  
  106. red2(5) = 72
  107. red2(6) = 74
  108. red2(7) = 76
  109. red2(8) = 78
  110.  
  111. red2(1) = 61
  112. red2(2) = 63
  113. red2(3) = 65
  114. red2(4) = 67
  115.  
  116. '----------------------------------------------------------------------------
  117. 'Main Loop
  118.  
  119. _LIMIT 200
  120.  
  121. 'Player One
  122. one:
  123. COLOR _RGB32(128, 249, 127)
  124. LOCATE 5, 87: PRINT "Horizon": LOCATE 6, 87: INPUT ph
  125. IF ph > 8 OR ph < 1 THEN GOTO one:
  126. IF ph <> INT(ph) THEN GOTO one:
  127. COLOR _RGB32(127, 255, 255)
  128. LOCATE 7, 87: PRINT "Vertical": LOCATE 8, 87: INPUT pv
  129. IF pv > 8 OR pv < 1 THEN GOTO one:
  130. IF pv <> INT(pv) THEN GOTO one:
  131. ph$ = STR$(ph)
  132. pv$ = STR$(pv)
  133. sp$ = ph$ + pv$
  134. sp = VAL(sp$)
  135. FOR check = 1 TO 88
  136.     IF red2(check) = sp THEN ch = sp: GOTO move:
  137. NEXT check
  138. GOTO one:
  139.  
  140. 'Player Two
  141. two:
  142. COLOR _RGB32(128, 249, 127)
  143. LOCATE 5, 5: PRINT "Horizon": LOCATE 6, 5: INPUT ph3
  144. IF ph3 > 8 OR ph3 < 1 THEN GOTO two:
  145. IF ph3 <> INT(ph3) THEN GOTO two:
  146. COLOR _RGB32(127, 255, 255)
  147. LOCATE 7, 5: PRINT "Vertical": LOCATE 8, 5: INPUT pv3
  148. IF pv3 > 8 OR pv3 < 1 THEN GOTO two:
  149. IF pv3 <> INT(pv3) THEN GOTO two:
  150. ph3$ = STR$(ph3)
  151. pv3$ = STR$(pv3)
  152. sp3$ = ph3$ + pv3$
  153. sp3 = VAL(sp3$)
  154. FOR check2 = 1 TO 88
  155.     IF black2(check2) = sp3 THEN ch2 = sp3: GOTO move2:
  156. NEXT check2
  157. GOTO two:
  158.  
  159. '----------------------------------------------------------------------------
  160.  
  161. move:
  162. COLOR _RGB32(128, 249, 127)
  163. LOCATE 10, 87: PRINT "Horizon": LOCATE 11, 87: INPUT ph2
  164. IF ph2 > 8 OR ph2 < 1 THEN GOTO one:
  165. IF ph2 <> INT(ph2) THEN GOTO one:
  166.  
  167. COLOR _RGB32(127, 255, 255)
  168. LOCATE 12, 87: PRINT "Vertical": LOCATE 13, 87: INPUT pv2
  169. IF pv2 > 8 OR pv2 < 1 THEN GOTO one:
  170. IF pv2 <> INT(pv2) THEN GOTO one:
  171. ph2$ = STR$(ph2)
  172. pv2$ = STR$(pv2)
  173. sp2$ = ph2$ + pv2$
  174. sp2 = VAL(sp2$)
  175. IF sp = sp2 THEN GOTO one:
  176. IF pv = pv2 OR ph = ph2 THEN
  177.     COLOR _RGB32(255, 0, 0)
  178.     LOCATE 15, 87
  179.     PRINT "Illegal Move"
  180.     GOTO one:
  181.  
  182. 'Check for red squares.
  183. IF sp2 = 11 OR sp2 = 13 OR sp2 = 15 OR sp2 = 17 OR sp2 = 22 OR sp2 = 24 OR sp2 = 26 OR sp2 = 28 THEN
  184.     COLOR _RGB32(255, 0, 0)
  185.     LOCATE 15, 87
  186.     PRINT "Illegal Move"
  187.     GOTO one:
  188. IF sp2 = 31 OR sp2 = 33 OR sp2 = 35 OR sp2 = 37 OR sp2 = 42 OR sp2 = 44 OR sp2 = 46 OR sp2 = 48 THEN
  189.     COLOR _RGB32(255, 0, 0)
  190.     LOCATE 15, 87
  191.     PRINT "Illegal Move"
  192.     GOTO one:
  193. IF sp2 = 51 OR sp2 = 53 OR sp2 = 55 OR sp2 = 57 OR sp2 = 62 OR sp2 = 64 OR sp2 = 66 OR sp2 = 68 THEN
  194.     COLOR _RGB32(255, 0, 0)
  195.     LOCATE 15, 87
  196.     PRINT "Illegal Move"
  197.     GOTO one:
  198. IF sp2 = 71 OR sp2 = 73 OR sp2 = 75 OR sp2 = 77 OR sp2 = 82 OR sp2 = 84 OR sp2 = 86 OR sp2 = 88 THEN
  199.     COLOR _RGB32(255, 0, 0)
  200.     LOCATE 15, 87
  201.     PRINT "Illegal Move"
  202.     GOTO one:
  203.  
  204. red2(ch) = sp2
  205.  
  206. 'Draw player one checker in the new square.
  207. 'First erase the old checker.
  208. IF sp = 12 THEN CIRCLE (243.75, 81.25), 20, _RGB32(0, 0, 0): PAINT (243.75, 81.25), _RGB32(0, 0, 0): x1 = 243.75: y1 = 81.25
  209. IF sp = 14 THEN CIRCLE (368.75, 81.25), 20, _RGB32(0, 0, 0): PAINT (368.75, 81.25), _RGB32(0, 0, 0): x1 = 368.75: y1 = 81.25
  210. IF sp = 16 THEN CIRCLE (493.75, 81.25), 20, _RGB32(0, 0, 0): PAINT (493.75, 81.25), _RGB32(0, 0, 0): x1 = 493.75: y1 = 81.25
  211. IF sp = 18 THEN CIRCLE (618.75, 81.25), 20, _RGB32(0, 0, 0): PAINT (618.75, 81.25), _RGB32(0, 0, 0): x1 = 618.75: y1 = 81.25
  212. IF sp = 21 THEN CIRCLE (181.25, 143.75), 20, _RGB32(0, 0, 0): PAINT (181.25, 143.75), _RGB32(0, 0, 0): x1 = 181.25: y1 = 143.75
  213. IF sp = 23 THEN CIRCLE (306.25, 143.75), 20, _RGB32(0, 0, 0): PAINT (306.25, 143.75), _RGB32(0, 0, 0): x1 = 306.25: y1 = 143.75
  214. IF sp = 25 THEN CIRCLE (431.25, 143.75), 20, _RGB32(0, 0, 0): PAINT (431.25, 143.75), _RGB32(0, 0, 0): x1 = 431.25: y1 = 143.75
  215. IF sp = 27 THEN CIRCLE (556.25, 143.75), 20, _RGB32(0, 0, 0): PAINT (556.25, 143.75), _RGB32(0, 0, 0): x1 = 556.25: y1 = 143.75
  216. IF sp = 32 THEN CIRCLE (243.75, 206.25), 20, _RGB32(0, 0, 0): PAINT (243.75, 206.25), _RGB32(0, 0, 0): x1 = 243.75: y1 = 206.25
  217. IF sp = 34 THEN CIRCLE (368.75, 206.25), 20, _RGB32(0, 0, 0): PAINT (368.75, 206.25), _RGB32(0, 0, 0): x1 = 368.75: y1 = 206.25
  218. IF sp = 36 THEN CIRCLE (493.75, 206.25), 20, _RGB32(0, 0, 0): PAINT (493.75, 206.25), _RGB32(0, 0, 0): x1 = 493.75: y1 = 206.25
  219. IF sp = 38 THEN CIRCLE (618.75, 206.25), 20, _RGB32(0, 0, 0): PAINT (618.75, 206.25), _RGB32(0, 0, 0): x1 = 618.75: y1 = 206.25
  220. IF sp = 41 THEN CIRCLE (181.25, 268.75), 20, _RGB32(0, 0, 0): PAINT (181.25, 268.75), _RGB32(0, 0, 0): x1 = 181.25: y1 = 268.75
  221. IF sp = 43 THEN CIRCLE (306.25, 268.75), 20, _RGB32(0, 0, 0): PAINT (306.25, 268.75), _RGB32(0, 0, 0): x1 = 306.25: y1 = 268.75
  222. IF sp = 45 THEN CIRCLE (431.25, 268.75), 20, _RGB32(0, 0, 0): PAINT (431.25, 268.75), _RGB32(0, 0, 0): x1 = 431.25: y1 = 268.75
  223. IF sp = 47 THEN CIRCLE (556.25, 268.75), 20, _RGB32(0, 0, 0): PAINT (556.25, 268.75), _RGB32(0, 0, 0): x1 = 556.25: y1 = 268.75
  224. IF sp = 52 THEN CIRCLE (243.75, 331.25), 20, _RGB32(0, 0, 0): PAINT (243.75, 331.25), _RGB32(0, 0, 0): x1 = 243.75: y1 = 331.25
  225. IF sp = 54 THEN CIRCLE (368.75, 331.25), 20, _RGB32(0, 0, 0): PAINT (368.75, 331.25), _RGB32(0, 0, 0): x1 = 368.75: y1 = 331.25
  226. IF sp = 56 THEN CIRCLE (493.75, 331.25), 20, _RGB32(0, 0, 0): PAINT (493.75, 331.25), _RGB32(0, 0, 0): x1 = 493.75: y1 = 331.25
  227. IF sp = 58 THEN CIRCLE (618.75, 331.25), 20, _RGB32(0, 0, 0): PAINT (618.75, 331.25), _RGB32(0, 0, 0): x1 = 618.75: y1 = 331.25
  228. IF sp = 61 THEN CIRCLE (181.25, 393.75), 20, _RGB32(0, 0, 0): PAINT (181.25, 393.74), _RGB32(0, 0, 0): x1 = 181.25: y1 = 393.75
  229. IF sp = 63 THEN CIRCLE (306.25, 393.75), 20, _RGB32(0, 0, 0): PAINT (306.25, 393.75), _RGB32(0, 0, 0): x1 = 306.25: y1 = 393.75
  230. IF sp = 65 THEN CIRCLE (431.25, 393.75), 20, _RGB32(0, 0, 0): PAINT (431.25, 393.75), _RGB32(0, 0, 0): x1 = 431.25: y1 = 393.75
  231. IF sp = 67 THEN CIRCLE (556.25, 393.75), 20, _RGB32(0, 0, 0): PAINT (556.25, 393.75), _RGB32(0, 0, 0): x1 = 556.25: y1 = 393.75
  232. IF sp = 72 THEN CIRCLE (243.75, 456.25), 20, _RGB32(0, 0, 0): PAINT (243.75, 456.25), _RGB32(0, 0, 0): x1 = 243.75: y1 = 456.25
  233. IF sp = 74 THEN CIRCLE (368.75, 456.25), 20, _RGB32(0, 0, 0): PAINT (368.75, 456.25), _RGB32(0, 0, 0): x1 = 368.75: y1 = 456.25
  234. IF sp = 76 THEN CIRCLE (493.75, 456.25), 20, _RGB32(0, 0, 0): PAINT (493.75, 456.25), _RGB32(0, 0, 0): x1 = 493.75: y1 = 456.25
  235. IF sp = 78 THEN CIRCLE (618.75, 456.25), 20, _RGB32(0, 0, 0): PAINT (618.75, 456.25), _RGB32(0, 0, 0): x1 = 618.75: y1 = 456.25
  236. IF sp = 81 THEN CIRCLE (181.25, 518.75), 20, _RGB32(0, 0, 0): PAINT (181.25, 518.75), _RGB32(0, 0, 0): x1 = 181.25: y1 = 518.75
  237. IF sp = 83 THEN CIRCLE (306.25, 518.75), 20, _RGB32(0, 0, 0): PAINT (306.25, 518.75), _RGB32(0, 0, 0): x1 = 306.25: y1 = 518.75
  238. IF sp = 85 THEN CIRCLE (431.25, 518.75), 20, _RGB32(0, 0, 0): PAINT (431.25, 518.75), _RGB32(0, 0, 0): x1 = 431.25: y1 = 518.75
  239. IF sp = 87 THEN CIRCLE (556.25, 518.75), 20, _RGB32(0, 0, 0): PAINT (556.25, 518.75), _RGB32(0, 0, 0): x1 = 556.25: y1 = 518.75
  240.  
  241. 'Now draw the new checker.
  242. IF sp2 = 12 THEN CIRCLE (243.75, 81.25), 20, _RGB32(200, 50, 50): PAINT (243.75, 81.25), _RGB32(200, 50, 50): x2 = 243.75: y2 = 81.25
  243. IF sp2 = 14 THEN CIRCLE (368.75, 81.25), 20, _RGB32(200, 50, 50): PAINT (368.75, 81.25), _RGB32(200, 50, 50): x2 = 368.75: y2 = 81.25
  244. IF sp2 = 16 THEN CIRCLE (493.75, 81.25), 20, _RGB32(200, 50, 50): PAINT (493.75, 81.25), _RGB32(200, 50, 50): x2 = 493.75: y2 = 81.25
  245. IF sp2 = 18 THEN CIRCLE (618.75, 81.25), 20, _RGB32(200, 50, 50): PAINT (618.75, 81.25), _RGB32(200, 50, 50): x2 = 618.75: y2 = 81.25
  246. IF sp2 = 21 THEN CIRCLE (181.25, 143.75), 20, _RGB32(200, 50, 50): PAINT (181.25, 143.75), _RGB32(200, 50, 50): x2 = 181.25: y2 = 143.75
  247. IF sp2 = 23 THEN CIRCLE (306.25, 143.75), 20, _RGB32(200, 50, 50): PAINT (306.25, 143.75), _RGB32(200, 50, 50): x2 = 306.25: y2 = 143.75
  248. IF sp2 = 25 THEN CIRCLE (431.25, 143.75), 20, _RGB32(200, 50, 50): PAINT (431.25, 143.75), _RGB32(200, 50, 50): x2 = 431.25: y2 = 143.75
  249. IF sp2 = 27 THEN CIRCLE (556.25, 143.75), 20, _RGB32(200, 50, 50): PAINT (556.25, 143.75), _RGB32(200, 50, 50): x2 = 556.25: y2 = 143.75
  250. IF sp2 = 32 THEN CIRCLE (243.75, 206.25), 20, _RGB32(200, 50, 50): PAINT (243.75, 206.25), _RGB32(200, 50, 50): x2 = 243.75: y2 = 206.25
  251. IF sp2 = 34 THEN CIRCLE (368.75, 206.25), 20, _RGB32(200, 50, 50): PAINT (368.75, 206.25), _RGB32(200, 50, 50): x2 = 368.75: y2 = 206.25
  252. IF sp2 = 36 THEN CIRCLE (493.75, 206.25), 20, _RGB32(200, 50, 50): PAINT (493.75, 206.25), _RGB32(200, 50, 50): x2 = 493.75: y2 = 206.25
  253. IF sp2 = 38 THEN CIRCLE (618.75, 206.25), 20, _RGB32(200, 50, 50): PAINT (618.75, 206.25), _RGB32(200, 50, 50): x2 = 618.75: y2 = 206.25
  254. IF sp2 = 41 THEN CIRCLE (181.25, 268.75), 20, _RGB32(200, 50, 50): PAINT (181.25, 268.75), _RGB32(200, 50, 50): x2 = 181.25: y2 = 268.75
  255. IF sp2 = 43 THEN CIRCLE (306.25, 268.75), 20, _RGB32(200, 50, 50): PAINT (306.25, 268.75), _RGB32(200, 50, 50): x2 = 306.25: y2 = 268.75
  256. IF sp2 = 45 THEN CIRCLE (431.25, 268.75), 20, _RGB32(200, 50, 50): PAINT (431.25, 268.75), _RGB32(200, 50, 50): x2 = 431.25: y2 = 268.75
  257. IF sp2 = 47 THEN CIRCLE (556.25, 268.75), 20, _RGB32(200, 50, 50): PAINT (556.25, 268.75), _RGB32(200, 50, 50): x2 = 556.25: y2 = 268.75
  258. IF sp2 = 52 THEN CIRCLE (243.75, 331.25), 20, _RGB32(200, 50, 50): PAINT (243.75, 331.25), _RGB32(200, 50, 50): x2 = 243.75: y2 = 331.25
  259. IF sp2 = 54 THEN CIRCLE (368.75, 331.25), 20, _RGB32(200, 50, 50): PAINT (368.75, 331.25), _RGB32(200, 50, 50): x2 = 368.75: y2 = 331.25
  260. IF sp2 = 56 THEN CIRCLE (493.75, 331.25), 20, _RGB32(200, 50, 50): PAINT (493.75, 331.25), _RGB32(200, 50, 50): x2 = 493.75: y2 = 331.25
  261. IF sp2 = 58 THEN CIRCLE (618.75, 331.25), 20, _RGB32(200, 50, 50): PAINT (618.75, 331.25), _RGB32(200, 50, 50): x2 = 618.75: y2 = 331.25
  262. IF sp2 = 61 THEN CIRCLE (181.25, 393.75), 20, _RGB32(200, 50, 50): PAINT (181.25, 393.74), _RGB32(200, 50, 50): x2 = 181.25: y2 = 393.75
  263. IF sp2 = 63 THEN CIRCLE (306.25, 393.75), 20, _RGB32(200, 50, 50): PAINT (306.25, 393.75), _RGB32(200, 50, 50): x2 = 306.25: y2 = 393.75
  264. IF sp2 = 65 THEN CIRCLE (431.25, 393.75), 20, _RGB32(200, 50, 50): PAINT (431.25, 393.75), _RGB32(200, 50, 50): x2 = 431.25: y2 = 393.75
  265. IF sp2 = 67 THEN CIRCLE (556.25, 393.75), 20, _RGB32(200, 50, 50): PAINT (556.25, 393.75), _RGB32(200, 50, 50): x2 = 556.25: y2 = 393.75
  266. IF sp2 = 72 THEN CIRCLE (243.75, 456.25), 20, _RGB32(200, 50, 50): PAINT (243.75, 456.25), _RGB32(200, 50, 50): x2 = 243.75: y2 = 456.25
  267. IF sp2 = 74 THEN CIRCLE (368.75, 456.25), 20, _RGB32(200, 50, 50): PAINT (368.75, 456.25), _RGB32(200, 50, 50): x2 = 368.75: y2 = 456.25
  268. IF sp2 = 76 THEN CIRCLE (493.75, 456.25), 20, _RGB32(200, 50, 50): PAINT (493.75, 456.25), _RGB32(200, 50, 50): x2 = 493.75: y2 = 456.25
  269. IF sp2 = 78 THEN CIRCLE (618.75, 456.25), 20, _RGB32(200, 50, 50): PAINT (618.75, 456.25), _RGB32(200, 50, 50): x2 = 618.75: y2 = 456.25
  270. IF sp2 = 81 THEN CIRCLE (181.25, 518.75), 20, _RGB32(200, 50, 50): PAINT (181.25, 518.75), _RGB32(200, 50, 50): x2 = 181.25: y2 = 518.75
  271. IF sp2 = 83 THEN CIRCLE (306.25, 518.75), 20, _RGB32(200, 50, 50): PAINT (306.25, 518.75), _RGB32(200, 50, 50): x2 = 306.25: y2 = 518.75
  272. IF sp2 = 85 THEN CIRCLE (431.25, 518.75), 20, _RGB32(200, 50, 50): PAINT (431.25, 518.75), _RGB32(200, 50, 50): x2 = 431.25: y2 = 518.75
  273. IF sp2 = 87 THEN CIRCLE (556.25, 518.75), 20, _RGB32(200, 50, 50): PAINT (556.25, 518.75), _RGB32(200, 50, 50): x2 = 556.25: y2 = 518.75
  274.  
  275. 'Check for a jump.
  276. IF pv - pv2 = 2 OR pv2 - pv = 2 THEN
  277.     IF ph - ph2 = 2 OR ph2 - ph = 2 THEN
  278.         IF x1 > x2 THEN stp = -.25
  279.         IF x1 < x2 THEN stp = .25
  280.         IF y1 > y2 THEN stp2 = -.25
  281.         IF y1 < y2 THEN stp2 = .25
  282.         yy = y1
  283.         FOR xx = x1 TO x2 STEP stp
  284.             yy = yy + stp2
  285.             IF POINT(xx, yy) = _RGB32(50, 50, 50) THEN
  286.                 PAINT (xx, yy), _RGB32(0, 0, 0)
  287.                 GOTO nex:
  288.             END IF
  289.         NEXT xx
  290.     END IF
  291. nex:
  292.  
  293.  
  294. 'Check for a King.
  295. IF ph2 = 1 THEN
  296.     k1 = k1 + 1
  297.     rking(k1) = red2(ch)
  298.     GOSUB drawking:
  299. FOR cch = 1 TO 88
  300.     IF rking(cch) = red2(cch) AND rking(cch) <> 0 THEN GOSUB drawking:
  301. NEXT cch
  302.  
  303.  
  304. 'Check for a win.
  305. FOR wx = 0 TO 800
  306.     FOR wy = 0 TO 600
  307.         IF POINT(wx, wy) = _RGB32(50, 50, 50) THEN GOTO nex3:
  308.     NEXT wy
  309. NEXT wx
  310. COLOR _RGB32(255, 0, 0)
  311. LOCATE 3, 87: PRINT "Red Wins!"
  312.  
  313. nex3:
  314. LOCATE 5, 87: PRINT "           ": LOCATE 6, 87: PRINT "            "
  315. LOCATE 7, 87: PRINT "           ": LOCATE 8, 87: PRINT "            "
  316. LOCATE 10, 87: PRINT "           ": LOCATE 11, 87: PRINT "            "
  317. LOCATE 12, 87: PRINT "           ": LOCATE 13, 87: PRINT "            "
  318. LOCATE 15, 87: PRINT "            "
  319. GOTO two:
  320.  
  321. '-----------------------------------------------------------------------------------------------------------
  322. 'Player Two
  323.  
  324. move2:
  325. COLOR _RGB32(128, 249, 127)
  326. LOCATE 10, 5: PRINT "Horizon": LOCATE 11, 5: INPUT ph4
  327. IF ph4 > 8 OR ph4 < 1 THEN GOTO two:
  328. IF ph4 <> INT(ph4) THEN GOTO two:
  329. COLOR _RGB32(127, 255, 255)
  330. LOCATE 12, 5: PRINT "Vertical": LOCATE 13, 5: INPUT pv4
  331.  
  332. IF pv4 > 8 OR pv4 < 1 THEN GOTO two:
  333. IF pv4 <> INT(pv4) THEN GOTO two:
  334. ph4$ = STR$(ph4)
  335. pv4$ = STR$(pv4)
  336. sp4$ = ph4$ + pv4$
  337. sp4 = VAL(sp4$)
  338. IF sp3 = sp4 THEN GOTO two:
  339. IF pv3 = pv4 OR ph3 = ph4 THEN
  340.     COLOR _RGB32(255, 0, 0)
  341.     LOCATE 15, 5
  342.     PRINT "Illegal Move"
  343.     GOTO one:
  344.  
  345. 'Check for red squares.
  346. IF sp4 = 11 OR sp4 = 13 OR sp4 = 15 OR sp4 = 17 OR sp4 = 22 OR sp4 = 24 OR sp4 = 26 OR sp4 = 28 THEN
  347.     COLOR _RGB32(255, 0, 0)
  348.     LOCATE 15, 5
  349.     PRINT "Illegal Move"
  350.     GOTO two:
  351. IF sp4 = 31 OR sp4 = 33 OR sp4 = 35 OR sp4 = 37 OR sp4 = 42 OR sp4 = 44 OR sp4 = 46 OR sp4 = 48 THEN
  352.     COLOR _RGB32(255, 0, 0)
  353.     LOCATE 15, 5
  354.     PRINT "Illegal Move"
  355.     GOTO two:
  356. IF sp4 = 51 OR sp4 = 53 OR sp4 = 55 OR sp4 = 57 OR sp4 = 62 OR sp4 = 64 OR sp4 = 66 OR sp4 = 68 THEN
  357.     COLOR _RGB32(255, 0, 0)
  358.     LOCATE 15, 5
  359.     PRINT "Illegal Move"
  360.     GOTO two:
  361. IF sp4 = 71 OR sp4 = 73 OR sp4 = 75 OR sp4 = 77 OR sp4 = 82 OR sp4 = 84 OR sp4 = 86 OR sp4 = 88 THEN
  362.     COLOR _RGB32(255, 0, 0)
  363.     LOCATE 15, 5
  364.     PRINT "Illegal Move"
  365.     GOTO two:
  366.  
  367. black2(ch2) = sp4
  368.  
  369. 'Draw player two checker in the new square.
  370. 'First erase the old checker.
  371. IF sp3 = 12 THEN CIRCLE (243.75, 81.25), 20, _RGB32(0, 0, 0): PAINT (243.75, 81.25), _RGB32(0, 0, 0): x1 = 243.75: y1 = 81.25
  372. IF sp3 = 14 THEN CIRCLE (368.75, 81.25), 20, _RGB32(0, 0, 0): PAINT (368.75, 81.25), _RGB32(0, 0, 0): x1 = 368.75: y1 = 81.25
  373. IF sp3 = 16 THEN CIRCLE (493.75, 81.25), 20, _RGB32(0, 0, 0): PAINT (493.75, 81.25), _RGB32(0, 0, 0): x1 = 493.75: y1 = 81.25
  374. IF sp3 = 18 THEN CIRCLE (618.75, 81.25), 20, _RGB32(0, 0, 0): PAINT (618.75, 81.25), _RGB32(0, 0, 0): x1 = 618.75: y1 = 81.25
  375. IF sp3 = 21 THEN CIRCLE (181.25, 143.75), 20, _RGB32(0, 0, 0): PAINT (181.25, 143.75), _RGB32(0, 0, 0): x1 = 181.25: y1 = 143.75
  376. IF sp3 = 23 THEN CIRCLE (306.25, 143.75), 20, _RGB32(0, 0, 0): PAINT (306.25, 143.75), _RGB32(0, 0, 0): x1 = 306.25: y1 = 143.75
  377. IF sp3 = 25 THEN CIRCLE (431.25, 143.75), 20, _RGB32(0, 0, 0): PAINT (431.25, 143.75), _RGB32(0, 0, 0): x1 = 431.25: y1 = 143.75
  378. IF sp3 = 27 THEN CIRCLE (556.25, 143.75), 20, _RGB32(0, 0, 0): PAINT (556.25, 143.75), _RGB32(0, 0, 0): x1 = 556.25: y1 = 143.75
  379. IF sp3 = 32 THEN CIRCLE (243.75, 206.25), 20, _RGB32(0, 0, 0): PAINT (243.75, 206.25), _RGB32(0, 0, 0): x1 = 243.75: y1 = 206.25
  380. IF sp3 = 34 THEN CIRCLE (368.75, 206.25), 20, _RGB32(0, 0, 0): PAINT (368.75, 206.25), _RGB32(0, 0, 0): x1 = 368.75: y1 = 206.25
  381. IF sp3 = 36 THEN CIRCLE (493.75, 206.25), 20, _RGB32(0, 0, 0): PAINT (493.75, 206.25), _RGB32(0, 0, 0): x1 = 493.75: y1 = 206.25
  382. IF sp3 = 38 THEN CIRCLE (618.75, 206.25), 20, _RGB32(0, 0, 0): PAINT (618.75, 206.25), _RGB32(0, 0, 0): x1 = 618.75: y1 = 206.25
  383. IF sp3 = 41 THEN CIRCLE (181.25, 268.75), 20, _RGB32(0, 0, 0): PAINT (181.25, 268.75), _RGB32(0, 0, 0): x1 = 181.25: y1 = 268.75
  384. IF sp3 = 43 THEN CIRCLE (306.25, 268.75), 20, _RGB32(0, 0, 0): PAINT (306.25, 268.75), _RGB32(0, 0, 0): x1 = 306.25: y1 = 268.75
  385. IF sp3 = 45 THEN CIRCLE (431.25, 268.75), 20, _RGB32(0, 0, 0): PAINT (431.25, 268.75), _RGB32(0, 0, 0): x1 = 431.25: y1 = 268.75
  386. IF sp3 = 47 THEN CIRCLE (556.25, 268.75), 20, _RGB32(0, 0, 0): PAINT (556.25, 268.75), _RGB32(0, 0, 0): x1 = 556.25: y1 = 268.75
  387. IF sp3 = 52 THEN CIRCLE (243.75, 331.25), 20, _RGB32(0, 0, 0): PAINT (243.75, 331.25), _RGB32(0, 0, 0): x1 = 243.75: y1 = 331.25
  388. IF sp3 = 54 THEN CIRCLE (368.75, 331.25), 20, _RGB32(0, 0, 0): PAINT (368.75, 331.25), _RGB32(0, 0, 0): x1 = 368.75: y1 = 331.25
  389. IF sp3 = 56 THEN CIRCLE (493.75, 331.25), 20, _RGB32(0, 0, 0): PAINT (493.75, 331.25), _RGB32(0, 0, 0): x1 = 493.75: y1 = 331.25
  390. IF sp3 = 58 THEN CIRCLE (618.75, 331.25), 20, _RGB32(0, 0, 0): PAINT (618.75, 331.25), _RGB32(0, 0, 0): x1 = 618.75: y1 = 331.25
  391. IF sp3 = 61 THEN CIRCLE (181.25, 393.75), 20, _RGB32(0, 0, 0): PAINT (181.25, 393.74), _RGB32(0, 0, 0): x1 = 181.25: y1 = 393.75
  392. IF sp3 = 63 THEN CIRCLE (306.25, 393.75), 20, _RGB32(0, 0, 0): PAINT (306.25, 393.75), _RGB32(0, 0, 0): x1 = 306.25: y1 = 393.75
  393. IF sp3 = 65 THEN CIRCLE (431.25, 393.75), 20, _RGB32(0, 0, 0): PAINT (431.25, 393.75), _RGB32(0, 0, 0): x1 = 431.25: y1 = 393.75
  394. IF sp3 = 67 THEN CIRCLE (556.25, 393.75), 20, _RGB32(0, 0, 0): PAINT (556.25, 393.75), _RGB32(0, 0, 0): x1 = 556.25: y1 = 393.75
  395. IF sp3 = 72 THEN CIRCLE (243.75, 456.25), 20, _RGB32(0, 0, 0): PAINT (243.75, 456.25), _RGB32(0, 0, 0): x1 = 243.75: y1 = 456.25
  396. IF sp3 = 74 THEN CIRCLE (368.75, 456.25), 20, _RGB32(0, 0, 0): PAINT (368.75, 456.25), _RGB32(0, 0, 0): x1 = 368.75: y1 = 456.25
  397. IF sp3 = 76 THEN CIRCLE (493.75, 456.25), 20, _RGB32(0, 0, 0): PAINT (493.75, 456.25), _RGB32(0, 0, 0): x1 = 493.75: y1 = 456.25
  398. IF sp3 = 78 THEN CIRCLE (618.75, 456.25), 20, _RGB32(0, 0, 0): PAINT (618.75, 456.25), _RGB32(0, 0, 0): x1 = 618.75: y1 = 456.25
  399. IF sp3 = 81 THEN CIRCLE (181.25, 518.75), 20, _RGB32(0, 0, 0): PAINT (181.25, 518.75), _RGB32(0, 0, 0): x1 = 181.25: y1 = 518.75
  400. IF sp3 = 83 THEN CIRCLE (306.25, 518.75), 20, _RGB32(0, 0, 0): PAINT (306.25, 518.75), _RGB32(0, 0, 0): x1 = 306.25: y1 = 518.75
  401. IF sp3 = 85 THEN CIRCLE (431.25, 518.75), 20, _RGB32(0, 0, 0): PAINT (431.25, 518.75), _RGB32(0, 0, 0): x1 = 431.25: y1 = 518.75
  402. IF sp3 = 87 THEN CIRCLE (556.25, 518.75), 20, _RGB32(0, 0, 0): PAINT (556.25, 518.75), _RGB32(0, 0, 0): x1 = 556.25: y1 = 518.75
  403.  
  404. 'Now draw the new checker.
  405. IF sp4 = 12 THEN CIRCLE (243.75, 81.25), 20, _RGB32(50, 50, 50): PAINT (243.75, 81.25), _RGB32(50, 50, 50): x2 = 243.75: y2 = 81.25
  406. IF sp4 = 14 THEN CIRCLE (368.75, 81.25), 20, _RGB32(50, 50, 50): PAINT (368.75, 81.25), _RGB32(50, 50, 50): x2 = 368.75: y2 = 81.25
  407. IF sp4 = 16 THEN CIRCLE (493.75, 81.25), 20, _RGB32(50, 50, 50): PAINT (493.75, 81.25), _RGB32(50, 50, 50): x2 = 493.75: y2 = 81.25
  408. IF sp4 = 18 THEN CIRCLE (618.75, 81.25), 20, _RGB32(50, 50, 50): PAINT (618.75, 81.25), _RGB32(50, 50, 50): x2 = 618.75: y2 = 81.25
  409. IF sp4 = 21 THEN CIRCLE (181.25, 143.75), 20, _RGB32(50, 50, 50): PAINT (181.25, 143.75), _RGB32(50, 50, 50): x2 = 181.25: y2 = 143.75
  410. IF sp4 = 23 THEN CIRCLE (306.25, 143.75), 20, _RGB32(50, 50, 50): PAINT (306.25, 143.75), _RGB32(50, 50, 50): x2 = 306.25: y2 = 143.75
  411. IF sp4 = 25 THEN CIRCLE (431.25, 143.75), 20, _RGB32(50, 50, 50): PAINT (431.25, 143.75), _RGB32(50, 50, 50): x2 = 431.25: y2 = 143.75
  412. IF sp4 = 27 THEN CIRCLE (556.25, 143.75), 20, _RGB32(50, 50, 50): PAINT (556.25, 143.75), _RGB32(50, 50, 50): x2 = 556.25: y2 = 143.75
  413. IF sp4 = 32 THEN CIRCLE (243.75, 206.25), 20, _RGB32(50, 50, 50): PAINT (243.75, 206.25), _RGB32(50, 50, 50): x2 = 243.75: y2 = 206.25
  414. IF sp4 = 34 THEN CIRCLE (368.75, 206.25), 20, _RGB32(50, 50, 50): PAINT (368.75, 206.25), _RGB32(50, 50, 50): x2 = 368.75: y2 = 206.25
  415. IF sp4 = 36 THEN CIRCLE (493.75, 206.25), 20, _RGB32(50, 50, 50): PAINT (493.75, 206.25), _RGB32(50, 50, 50): x2 = 493.75: y2 = 206.25
  416. IF sp4 = 38 THEN CIRCLE (618.75, 206.25), 20, _RGB32(50, 50, 50): PAINT (618.75, 206.25), _RGB32(50, 50, 50): x2 = 618.75: y2 = 206.25
  417. IF sp4 = 41 THEN CIRCLE (181.25, 268.75), 20, _RGB32(50, 50, 50): PAINT (181.25, 268.75), _RGB32(50, 50, 50): x2 = 181.25: y2 = 268.75
  418. IF sp4 = 43 THEN CIRCLE (306.25, 268.75), 20, _RGB32(50, 50, 50): PAINT (306.25, 268.75), _RGB32(50, 50, 50): x2 = 306.25: y2 = 268.75
  419. IF sp4 = 45 THEN CIRCLE (431.25, 268.75), 20, _RGB32(50, 50, 50): PAINT (431.25, 268.75), _RGB32(50, 50, 50): x2 = 431.25: y2 = 268.75
  420. IF sp4 = 47 THEN CIRCLE (556.25, 268.75), 20, _RGB32(50, 50, 50): PAINT (556.25, 268.75), _RGB32(50, 50, 50): x2 = 556.25: y2 = 268.75
  421. IF sp4 = 52 THEN CIRCLE (243.75, 331.25), 20, _RGB32(50, 50, 50): PAINT (243.75, 331.25), _RGB32(50, 50, 50): x2 = 243.75: y2 = 331.25
  422. IF sp4 = 54 THEN CIRCLE (368.75, 331.25), 20, _RGB32(50, 50, 50): PAINT (368.75, 331.25), _RGB32(50, 50, 50): x2 = 368.75: y2 = 331.25
  423. IF sp4 = 56 THEN CIRCLE (493.75, 331.25), 20, _RGB32(50, 50, 50): PAINT (493.75, 331.25), _RGB32(50, 50, 50): x2 = 493.75: y2 = 331.25
  424. IF sp4 = 58 THEN CIRCLE (618.75, 331.25), 20, _RGB32(50, 50, 50): PAINT (618.75, 331.25), _RGB32(50, 50, 50): x2 = 618.75: y2 = 331.25
  425. IF sp4 = 61 THEN CIRCLE (181.25, 393.75), 20, _RGB32(50, 50, 50): PAINT (181.25, 393.74), _RGB32(50, 50, 50): x2 = 181.25: y2 = 393.75
  426. IF sp4 = 63 THEN CIRCLE (306.25, 393.75), 20, _RGB32(50, 50, 50): PAINT (306.25, 393.75), _RGB32(50, 50, 50): x2 = 306.25: y2 = 393.75
  427. IF sp4 = 65 THEN CIRCLE (431.25, 393.75), 20, _RGB32(50, 50, 50): PAINT (431.25, 393.75), _RGB32(50, 50, 50): x2 = 431.25: y2 = 393.75
  428. IF sp4 = 67 THEN CIRCLE (556.25, 393.75), 20, _RGB32(50, 50, 50): PAINT (556.25, 393.75), _RGB32(50, 50, 50): x2 = 556.25: y2 = 393.75
  429. IF sp4 = 72 THEN CIRCLE (243.75, 456.25), 20, _RGB32(50, 50, 50): PAINT (243.75, 456.25), _RGB32(50, 50, 50): x2 = 243.75: y2 = 456.25
  430. IF sp4 = 74 THEN CIRCLE (368.75, 456.25), 20, _RGB32(50, 50, 50): PAINT (368.75, 456.25), _RGB32(50, 50, 50): x2 = 368.75: y2 = 456.25
  431. IF sp4 = 76 THEN CIRCLE (493.75, 456.25), 20, _RGB32(50, 50, 50): PAINT (493.75, 456.25), _RGB32(50, 50, 50): x2 = 493.75: y2 = 456.25
  432. IF sp4 = 78 THEN CIRCLE (618.75, 456.25), 20, _RGB32(50, 50, 50): PAINT (618.75, 456.25), _RGB32(50, 50, 50): x2 = 618.75: y2 = 456.25
  433. IF sp4 = 81 THEN CIRCLE (181.25, 518.75), 20, _RGB32(50, 50, 50): PAINT (181.25, 518.75), _RGB32(50, 50, 50): x2 = 181.25: y2 = 518.75
  434. IF sp4 = 83 THEN CIRCLE (306.25, 518.75), 20, _RGB32(50, 50, 50): PAINT (306.25, 518.75), _RGB32(50, 50, 50): x2 = 306.25: y2 = 518.75
  435. IF sp4 = 85 THEN CIRCLE (431.25, 518.75), 20, _RGB32(50, 50, 50): PAINT (431.25, 518.75), _RGB32(50, 50, 50): x2 = 431.25: y2 = 518.75
  436. IF sp4 = 87 THEN CIRCLE (556.25, 518.75), 20, _RGB32(50, 50, 50): PAINT (556.25, 518.75), _RGB32(50, 50, 50): x2 = 556.25: y2 = 518.75
  437.  
  438. 'Check for a jump.
  439. IF pv3 - pv4 = 2 OR pv4 - pv3 = 2 THEN
  440.     IF ph3 - ph4 = 2 OR ph4 - ph3 = 2 THEN
  441.         IF x1 > x2 THEN stp = -.25
  442.         IF x1 < x2 THEN stp = .25
  443.         IF y1 > y2 THEN stp2 = -.25
  444.         IF y1 < y2 THEN stp2 = .25
  445.         yy = y1
  446.         FOR xx = x1 TO x2 STEP stp
  447.             yy = yy + stp2
  448.             IF POINT(xx, yy) = _RGB32(200, 50, 50) THEN
  449.                 PAINT (xx, yy), _RGB32(0, 0, 0)
  450.                 GOTO nex2:
  451.             END IF
  452.         NEXT xx
  453.     END IF
  454. nex2:
  455.  
  456. 'Check for a King.
  457. IF ph4 = 8 THEN
  458.     k2 = k2 + 1
  459.     bking(k2) = black2(ch2)
  460.     GOSUB drawking:
  461. FOR cch = 1 TO 88
  462.     IF bking(cch) = black2(cch) AND bking(cch) <> 0 THEN GOSUB drawking:
  463. NEXT cch
  464.  
  465. 'Check for a win.
  466. FOR wx = 0 TO 800
  467.     FOR wy = 0 TO 600
  468.         IF POINT(wx, wy) = _RGB32(200, 50, 50) THEN GOTO nex4:
  469.     NEXT wy
  470. NEXT wx
  471. COLOR _RGB32(255, 0, 0)
  472. LOCATE 3, 87: PRINT "Black Wins!"
  473.  
  474. nex4:
  475. LOCATE 5, 5: PRINT "           ": LOCATE 6, 5: PRINT "            "
  476. LOCATE 7, 5: PRINT "           ": LOCATE 8, 5: PRINT "            "
  477. LOCATE 10, 5: PRINT "           ": LOCATE 11, 5: PRINT "            "
  478. LOCATE 12, 5: PRINT "           ": LOCATE 13, 5: PRINT "            "
  479. LOCATE 15, 5: PRINT "            "
  480.  
  481. 'Go back to Player One
  482. GOTO one:
  483.  
  484. 'Draw the king symbol on the piece.
  485. drawking:
  486. LINE (x2 - 10, y2 + 10)-(x2 + 10, y2 + 10), _RGB32(255, 255, 255)
  487. LINE (x2 - 10, y2 + 7)-(x2 + 10, y2 + 7), _RGB32(255, 255, 255)
  488. LINE (x2 - 10, y2 + 7)-(x2 - 15, y2 - 2), _RGB32(255, 255, 255)
  489. CIRCLE (x2 - 15, y2 - 5), 3, _RGB32(255, 255, 255)
  490. LINE (x2 - 15, y2 - 2)-(x2 - 5, y2), _RGB32(255, 255, 255)
  491. LINE (x2 - 5, y2)-(x2, y2 - 4), _RGB32(255, 255, 255)
  492. CIRCLE (x2, y2 - 7), 3, _RGB32(255, 255, 255)
  493. LINE (x2 + 10, y2 + 7)-(x2 + 15, y2 - 2), _RGB32(255, 255, 255)
  494. CIRCLE (x2 + 15, y2 - 5), 3, _RGB32(255, 255, 255)
  495. LINE (x2 + 15, y2 - 2)-(x2 + 5, y2), _RGB32(255, 255, 255)
  496. LINE (x2 + 5, y2)-(x2, y2 - 4), _RGB32(255, 255, 255)
  497.  

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Checkers
« Reply #1 on: February 03, 2020, 10:22:08 pm »
Hi Ken,

I checked out your program hoping to help with keeping King crowned but it's too much Ken's style and typing in moves got boring. Oh well, BUT you inspired me to try my hand at it! :) https://www.qb64.org/forum/index.php?topic=2149.0
« Last Edit: February 03, 2020, 10:38:32 pm by bplus »

Offline SierraKen

  • Forum Resident
  • Posts: 1454
    • View Profile
Re: Checkers
« Reply #2 on: February 04, 2020, 12:50:34 pm »
I agree Bplus, I kinda pushed myself into a corner on that one. But I appreciate you checking it out. Time to think of a new project. :)