Game Scoreboard

See all articles from T-S Horizons n12
Author(s): Kendric Smith
Publication: T-S Horizons
Pub Details: T-S Horizons n12 (Issue 12)
Date: February/March 1985
Pages: 18

Kendric C. Smith
SOFTWARE SOLUTIONS
927 Mears Court
Stanford, CA 94305

Load the program with LOAD “GS”. After the initial graphics, the screen will ask “HOW MANY PLAYERS?”. Respond by entering as many as you need (up to 12 without modifying the program).

Then the screen asks, “WHAT ARE THEIR NAMES?”. Enter each name (up to 12 letters) followed by ENTER. After all the names have been entered, the game format comes on the screen.

As each name is shown on the screen, for example, “ENTER NEW SCORE FOR: KEN”, enter the numerical score for KEN.

If the score i[illegible] zero, just press ENTER. If the score is negative, key in the minus sign (SHIFT J) before keying in the number, then press ENTER. That number will be subtracted from the previous total for that player.

The screen also asks if you want to play again with the same (S) or new (N) players. By entering S or N a[illegible] ENTER, the appropriate routine will be exec[illegible]ed.

TS 2068 VERSION

   3 PRINT AT 7,5;"GAME SCOREBOARD: ""GS"""
5 PAUSE 60
10 PRINT AT 10,14;"BY"
15 PAUSE 60
20 PRINT AT 13,7;"KENDRIC C. SMITH"
25 PAUSE 60
50 FOR X=3 TO 27
55 LET Y=4
60 GO SUB 140
65 NEXT X
70 FOR Y=4 TO 16
75 LET X=27
80 GO SUB 140
85 NEXT Y
90 FOR X=27 TO 3 STEP -1
95 LET Y=16
100 GO SUB 140
105 NEXT X
110 FOR Y=16 TO 4 STEP -1
115 LET X=3
120 GO SUB 140
125 NEXT Y
130 PAUSE 120
135 GO TO 200
140 PRINT AT Y,X;"▒"
145 RETURN
200 CLS
205 PRINT AT 11,7;"HOW MANY PLAYERS?"
207 PRINT AT 20,0;"KEY IN NUMBER AND PRESS ""ENTER"""
210 INPUT Y
215 CLS
220 PRINT AT 11,5;"WHAT ARE THEIR NAMES?"
222 PRINT AT 20,0;"KEY IN A NAME AND PRESS ""ENTER"""
225 DIM A$(Y,12)
230 FOR N=1 TO Y
235 INPUT A$(N)
240 NEXT N
245 CLS
250 DIM B$(Y,4)
255 DIM C$(Y,32)
260 FOR N=1 TO Y
265 LET B$(N)="0"
270 NEXT N
272 PRINT "[illegible]GAME SCOREBOARD[illegible]"
275 PRINT AT 2,2;"PLAYER";AT 2,16;"SCORE"
280 PRINT
285 FOR N=1 TO Y
290 PRINT N;TAB 3;A$(N);TAB 17;B$(N)
295 NEXT N
300 PRINT AT 20,0;"[illegible]NEW GAME?[illegible]"
305 PRINT AT 21,3;"SAME OR NEW PLAYERS? (S/N)"
310 FOR N=1 TO Y
315 PRINT AT 15,0;"ENTER NEW SCORE FOR:";" ";A$(N)
320 INPUT C$(N)
325 IF C$(N)="S " OR C$(N)="N " THEN CLS
330 IF C$(N)="S " THEN GO TO 260
340 IF C$(N)=" " THEN LET C$(N)="0"
530 LET B$(N)=STR$ (VAL B$(N)+VAL C$(N))
540 PRINT AT (2+(N+1)),0;N;" ";A$(N);" ";B$(N)
545 NEXT N
550 GO TO 310
560 SAVE "GS"
570 GO TO 1

FOR THE TS 1000

Add

   1 SLOW
322 FAST

TSH

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