Fun and Games Tape 1

Products: Fun and Games I
Developer(s): Fred Nachbaur
Date: 1983
Type: Cassette
Platform(s): TS 1000
Tags: Game

Five small programs for the TS1000 on one tape, chosen from a menu. A loader titled FUN AND GAMES TAPE 1 lists them, and pressing 1–5 loads the one you pick: Syncwars, Minotaur, NIM, Contsentration and TS Doodle. The catalogue entry for the product lists the same five games and gives the memory as 2K.

Syncwars, Minotaur, NIM and Contsentration show “BY F.NACHBAUR” on screen. TS Doodle carries no credit in its BASIC. The tape was sold by SyncWare. The download’s file name calls it 5 Games and Diversions.

Programs on the Tape

  • LOADER: the menu. Its REM warns “DO NOT USE RUN”, because the title lines are kept in a saved string array that RUN would clear.
  • SYNCWARS: a game whose code is held in a REM line. The BASIC only shows the title and credit and waits for P to play.
  • MINOTAUR: escape a random maze before the Minotaur catches you, moving with keys 5–8, with a density setting for the maze. It is the program described in #71971 Minotaur, but in this copy the escape and capture tests branch to the end messages (GOTO U*U to line 961, GOTO T*T*Q to line 800), so YOU ESCAPED and YOU WERE EATEN are shown. The copy in #71971 jumps back to the maze instead.
  • NIM: two named players take turns removing 1–7 counters from one of seven rows of seven. Whoever takes the last counter loses (“YOU’RE A FOOL”), and leaving your opponent the last one wins.
  • CONTSENTRATION: a two-player memory game. 26 pairs of letters are shuffled face down in a grid of four rows by 13 columns. Players name two squares as row and column (such as 2C). A match scores and the same player goes again, and the player with more pairs at the end wins.
  • TS DOODLE: draw with PLOT using keys 5–8, with NEWLINE switching between drawing and moving. Key 0 opens a command mode: T types text onto the picture, P shows the PRINT AT position of the cursor, S saves the picture under a name, R calls a machine-code routine in line 1, G returns to drawing, and N starts again.

Program Analysis

  • All the games use the 2K-saving habits of the time: numbers held in variables (O, P, Q and so on, or N0, N1, N7 in NIM) and VAL "..." in place of line numbers.
  • NIM draws the board with PRINT and then rubs out counters by POKEing the display file directly, at DF+38*H+2*I+1.
  • TS Doodle uses the bottom two screen lines by POKEing DF_SZ (16418) with 0, and sets it back to 2 for INPUT.

Potential Issues

  • Contsentration’s last line tells you to GOTO 100. There is no line 100, so it continues from line 120, which re-enters the player names and starts a new game.

Image Gallery

Source Code

   1 REM 2A�C40�6177EFE7620�4�5C818�3C680772318F121�0�039ED4B1C40ED42444DC9
   2 CLS 
   3 FOR Z=0 TO 21
   4 PRINT AT Z,31;" "
   5 NEXT Z
   6 SLOW 
   7 LET O=0
   8 LET P=1
   9 LET BL=16418
  10 LET Z=O
  20 LET X=Z
  30 LET Y=Z
  40 LET X=X+(X=-P)-(X=64)
  42 LET Y=Y+(Y=-P)-(Y=44)
  43 UNPLOT X,Y
  45 PLOT X,Y
  50 IF Z THEN UNPLOT X,Y
  60 LET Z$=INKEY$
  70 LET X=X+(Z$="8")-(Z$="5")
  80 LET Y=Y+(Z$="7")-(Z$="6")
  90 IF Z$=CHR$ 118 THEN LET Z=NOT Z
 100 IF Z$="0" THEN GOTO 200
 110 GOTO 40
 130 POKE BL,P+P
 135 INPUT A$
 140 PRINT A$
 150 RETURN 
 160 POKE BL,O
 165 PRINT AT 23,O;" PRINT AT LINE ";INT ((43-Y)/2)+(X>61);",COL ";INT (X/2)+1-32*(X>61);"    "
 170 POKE BL,2
 180 RETURN 
 200 LET Z$=INKEY$
 210 IF Z$="" OR Z$="0" THEN GOTO 200
 220 IF Z$="T" THEN GOSUB 130
 240 IF Z$="P" THEN GOSUB 160
 250 IF Z$="S" THEN GOTO 320
 260 IF Z$="R" THEN RAND USR 16514
 265 IF INKEY$="R" THEN GOTO 265
 270 IF Z$="G" THEN GOTO 40
 280 IF Z$="N" THEN RUN 
 290 GOTO 200
 320 POKE BL,O
 330 PRINT AT 23,O;"NAME OF PICTURE?"
 340 PAUSE 180
 350 POKE BL,P+P
 360 INPUT N$
 365 IF N$="" THEN GOTO 350
 370 POKE BL,O
 380 PRINT AT 23,16-(LEN N$)/2;N$
 400 SAVE N$
 410 GOTO 200
 

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.