This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 100 REM TIC-TAC-TOE. YOU (X) VS. THE COMPUTER (O) | |
| 110 GOTO 200 | |
| 120 BOARD IS IN MEMORY LOCATIONS 0007-000F | |
| 130 . 0 IS EMPTY, 1 IS X. 3 TS O | |
| 140 I HAS CURRENT POSITION | |
| 150 G IS PEEK ROUTINE ADDRESS | |
| 160 P IS POKE ROUTINE ADDRESS | |
| 170 F=1 IF YOU PLAY FIRST | |
| 180 U IS NUMBER OF UNPLAYED SQUARES | |
| 190 Z=1 IF SOMEONE WON |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 05 REM Brian Denley : REM https://groups.io/g/ET-3400/topic/88950752 | |
| 10 REM DO | |
| 20 PRINT "Do you want a difficult game (y or n)?"; | |
| 30 GOSUB 6770 | |
| 40 Y = 2999 | |
| 50 IF A = 121 Y = 999 | |
| 60 PRINT "Stardate 3200: your mission is", | |
| 70 REM DO | |
| 80 K = 0 | |
| 90 B = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 10 REM print Number, square and Cube for 1 to 10 with TAB | |
| 20 PRINT TAB (1),"Number", TAB (11),"Square", TAB (21),"Cube" | |
| 30 FOR I=1 TO 10 | |
| 40 PRINT I, TAB (10),I**2, TAB (20),I**3 | |
| 50 NEXT I | |
| 60 END |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 10 FOR I=0 TO 20 | |
| 20 PRINT "2^",I,"is",2**I | |
| 30 NEXT I | |
| 40 END |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 100 REM TINY BASIC ADVENTURE GAME COPYRIGHT (C) 1981 T.PITTMAN | |
| 110 Z=276 | |
| 180 V=16384 | |
| 210 A=23001 | |
| 220 B=-24575 | |
| 230 C=3 | |
| 240 D=25004 | |
| 250 E=5 | |
| 260 F=30006 | |
| 270 G=7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 10 PRINT "ITTY BITTY FLASHCARD PROGRAM" | |
| 20 REM COPYRIGHT (C) 1981 T.PITTMAN | |
| 30 PRINT | |
| 40 LET V=0 | |
| 50 LET Q=0 | |
| 60 LET G=0 | |
| 70 LET K=0 | |
| 80 PRINT "LEVEL OF DIFFICULTY"; | |
| 90 INPUT L | |
| 100 X=RND(2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1000 PRINT "THE KINGDOM OF EUPHORIA" | |
| 1010 PRINT | |
| 1020 GOSUB 3510 | |
| 1100 REM PRINT STATE OF THE KINGDOM | |
| 1110 PRINT | |
| 1120 PRINT "YEAR ";Y/7 | |
| 1130 PRINT "POPULATION: ";P | |
| 1140 IF B>0 THEN PRINT B;" BIRTHS" | |
| 1150 IF D>0 THEN PRINT D;" DEATHS BY NATURAL CAUSES" | |
| 1160 IF S>0 THEN PRINT S;" DEATHS BY STARVATION" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 10 FOR A=0 TO 4*PI STEP 0.15 | |
| 20 PRINT TAB (40+SIN(A)*20),"*" | |
| 30 NEXT A | |
| 35 REM GOTO 10 | |
| 40 END |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0000 REM NOT YET TESTED on Z80 | |
| 0010 REM THIS PROGRAM PLAYS THE HIGH/LOW GAME. | |
| 0020 PRINT "I WILL PICK A NUMBER BETWEEN 1 AND 100" | |
| 0030 PRINT "THEN I WANT YOU TO TRY AND GUESS IT." | |
| 0040 PRINT "I WILL TELL YOU IF YOU ARE TOO HIGH, OR TOO LOW" | |
| 0050 C=0 | |
| 0060 N=1+R;?%100 | |
| 0070 INPUT "WHAT IS YOUR GUESS?",G | |
| 0080 C=C+1 | |
| 0090 LIF G==N THEN PRINT "YOU GUESSED IT IN ",C," GUESSES!":END |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 10 REM The factorial of a integer less than 85 | |
| 20 INPUT " Enter last integer number = ",N | |
| 30 FACT=1 | |
| 40 FOR I=1 TO N | |
| 50 FACT=FACT*I | |
| 55 PRINT I,FACT | |
| 60 NEXT I | |
| 70 PRINT " FACTorial of the entered Number is = ",FACT | |
| 80 END |
NewerOlder