home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 217 / 217.d81 / t.metatactoe < prev    next >
Text File  |  2022-08-26  |  6KB  |  221 lines

  1. u
  2.              META TAC TOE
  3.  
  4.          Program and Text by
  5.           Brian Crosthwaite
  6.  
  7.  
  8.     I recall a more carefree time. A
  9. time when Tic Tac Toe was a challenge
  10. -- ok, well it did't last long and was
  11. soon taken over by chess. I still play
  12. an occasional chess game as well as a
  13. Tic Tac Toe game (it's hard to avoid
  14. when you have 5 kids). At recess, my
  15. friend Arlin and I would sit in the
  16. warm spring sun and play, Jacks or
  17. Chess mostly.
  18.  
  19.     In Jr. High the noon time
  20. entertainment often turned to 31. High
  21. School was a bit more sophisticated,
  22. or so we thought. We didn't seem to
  23. have much time for games, although, I
  24. seemed to find time for backgammon.
  25.  
  26.     I had a few tiring (or should I
  27. say downright boring?) classes. I
  28. recall playing the Connect game (often
  29. called Dots) quite often. I remember
  30. playing it on my C64 as well as C16 in
  31. the form of [Connect 'Em] published in
  32. the Compute!'s Gazette.
  33.  
  34.     Somewhere between High School and
  35. that issue of Gazette, probably in
  36. College, I invented Connect Tac Toe.
  37. Connect Tac Toe is a game of Connect
  38. that uses only 16 dots. The object is
  39. to connect the dots to form squares,
  40. the 1st person to complete a square
  41. gets the square, just like the
  42. original, only you win the game by
  43. getting three squares in a row, just
  44. like in Tic Tac Toe. While the game
  45. isn't overly challenging, it is mildly
  46. amusing and a fair time killer.
  47.  
  48.     I added the idea of 9 of these
  49. grids to make a Tic Tac Toe within a
  50. Tic Tac Toe. It didn't get played
  51. quite as much, as it took longer to
  52. set up, but it did get played.
  53.  
  54.     Enter a 3 year old and a Magna
  55. Doodle (magaDoodle to her).
  56.  
  57.     Octavia and I would play (and
  58. still do occasionally) Tic Tac Toe on
  59. her Magna Doodle. We played the
  60. Connect game a few times as well as
  61. the Connect Tac Toe game, but the
  62. medium is not as precise as a pen or
  63. pencil and paper, so Tic Tac Toe got
  64. played more than the others.
  65.  
  66.     I had always thought I'd key up
  67. some code on the 64 to bring the game
  68. to that wonderful glowing medium. I
  69. had just finished a project for Fender
  70. under GEOS about the time Dave here
  71. came took over the mythical Tower.
  72. Dave said games are the way to go, and
  73. so I set out to code the game.
  74.  
  75.     I had been making notes since
  76. April of 2001 when ever I could. I had
  77. this idea to assign a unique variable
  78. to each square then put it in a
  79. string, I'd sort the string then
  80. search for certain criteria that would
  81. tell me I had three in a row.
  82.  
  83.     Well, when I started cranking on
  84. the code it just came out different.
  85. Not all my notes were in vain, and
  86. they certainly helped me to get a
  87. running start. But I never typed a
  88. single line of code on an actual C64.
  89.  
  90.     Anyone who knows me won't be
  91. surprised at this since I am known to
  92. write C64 stuff on my 128 (you can
  93. cram 160 characters into each line and
  94. then load and list in C64 mode --
  95. forget editing in 64 mode ;).
  96.  
  97.     However that was not my major
  98. problem. Time for me is at the premium
  99. of premiums. The year 2000 brought us
  100. twin girls, and doing more than
  101. clicking a mouse in the morning became
  102. difficult.
  103.  
  104.     Enter a Terry Camp trailer.
  105.  
  106.     We decided with 5 kids, we'd never
  107. get out of Dodge. You can't get hotel
  108. rooms for 7 and with two babies;
  109. things are not quite a simple as they
  110. used to be. So we bought a trailer and
  111. a 12 seater 1 ton Van. Early mornings
  112. lent themselves easily to espresso and
  113. coding. In several mornings -- albeit
  114. spread over a large chunk of time -- I
  115. was able to hack out most of the code.
  116.  
  117.     I was able to put the last bits of
  118. polish on while I went (alone) to the
  119. Monastery of the Ascension. I brought
  120. back a virtually finished LOADSTAR
  121. program that the kids love! I did
  122. decide to add a couple of dialogue
  123. texts to inform on who is to pick a
  124. grid and a reminder to press space to
  125. continue after a win. Those, I put in
  126. this morning (I'm at Bonneville Hot
  127. Springs).
  128.  
  129.     We now have a Prowler -- a much
  130. bigger trailer, but little else has
  131. changed aside from the babies getting
  132. bigger and into everything ;) Almost
  133. all coding was done away from home and
  134. all done on my ThinkPad under the VICE
  135. 64 emulator. I tested the last version
  136. of Connect Tac Toe on A64 on the
  137. Amiga. The name changed to Meta Tac
  138. Toe rather than connect dots, you
  139. select the dots when playing out your
  140. strategy. The game has been tested on
  141. my 128D in both 64 and 128 modes, 40
  142. and 80 column, 1 and 20 MHz.
  143.  
  144.  
  145.  GAME PLAY
  146.  
  147.     Game play is simple.  X and O
  148. battle it out in a game of wits and
  149. cunning. Ok, maybe not quite that
  150. exciting. You decide. Upon running the
  151. game, you'll see the game grid, a
  152. number pad (for when playing in 128
  153. mode (not required as it'll run on the
  154. 64 as well)). A display on the right
  155. shows keys you can use and what they
  156. mean to the computer. All dots are
  157. accessible from the 128's number pad,
  158. except the A and C dots, you'll have
  159. to use the A and C keys. Below the
  160. number pad is a window that reds out
  161. used grids, re-highlights them if and
  162. when they become available again and
  163. tells you who is playing. I just
  164. called it the menu in the code (REMs).
  165.  
  166.     This is a two player game. There
  167. is no computer opponent. O goes first
  168. to select a grid and counts as O's
  169. turn. The selected grid will show a
  170. red grid with the numbers and letters
  171. you press on the computer to select
  172. the dots. Players select dots until
  173. the grid is filled. The last dot to
  174. complete a square wins that player the
  175. square.
  176.  
  177.  
  178.     Winning a round is determined
  179. solely on who has the most
  180. three-in-a-rows. If players have the
  181. same number of Tic Tac Toes or none at
  182. all, the cat wins and that grid
  183. becomes available again. The win is
  184. only for that grid and the players
  185. symbol (X or O) takes the place of
  186. that grid to make a mark on the big
  187. grid.
  188.  
  189.     The next play after a completed
  190. grid is the selection of the next grid
  191. and that counts as that players turn.
  192.  
  193.     The game ends as soon as one Tic
  194. Tac Toe is made on the big Tic Tac Toe
  195. grid. The option to play again is
  196. presented -- otherwise the game ends
  197.  
  198.     If this seams confusing, playing
  199. the game itself should clarify all.
  200.  
  201.     Enjoy!
  202.  
  203.  BC
  204.  noesis0@noesiscreation.net
  205.  
  206.  
  207.  DAVE'S RAVE: This is a great game of
  208. strategy for the whole family -- and
  209. certainly "family tested". I really
  210. enjoyed Brian's "liner notes" which
  211. bring images of a silent coder,
  212. sitting at a rough-hewn picnic table
  213. as early morning light plays through
  214. the pine trees. Ahh -- such peace,
  215. until the kids wake up!
  216.  
  217.  Thanks, Brian, for the game and the
  218. glimpse of your life.
  219.  
  220.  DMM
  221.  
  222.