--- title: "1K Adventure" type: "article" slug: "1k-adventure" url: "http://localhost/article/1k-adventure/" markdown_url: "http://localhost/article/1k-adventure.md" published_at: "2026-11-25T23:10:11+00:00" modified_at: "2026-11-26T10:48:20+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "NOW-the program: 5 REM \"1K ADVENTURE\" 10 LET S=VAL \"500\" 20 LET T=PI-PI 30 LET TU=PI/PI 40 PRINT \"TURN \";TU;\" TREASURE\";T;\" STRENGTH \";S 43 IF S<=0 THEN GOTO 5000 45 PRINT \"YOU HAVE FOUND-\" 50 LET X=INT (RND*VAL \"75\") 60 LET H=INT (RND*INT PI)+PI/PI 65 GOSUB H*100 70 LET S=S+10 80 CLS 90 LET TU=TU+1…" post_tag: - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "David Clark" slug: "david-clark" taxonomy: "indiv" url: "http://localhost/indiv/david-clark/" publication_r: id: 21216 title: "The Plotter" type: "periodical" url: "http://localhost/periodical/the-plotter/" authors: "David Clark" volume: "2" issue: "1" issues_articles: - id: 39411 title: "The Plotter v2 n1" type: "issue" url: "http://localhost/issue/the-plotter-v2-n1/" pages: "4" pubdate: "January 1984" archive_link: false article_media: - id: 80590 title: "1K Adventure" type: "computer_media" url: "http://localhost/computer_media/1k-adventure/" --- # 1K Adventure NOW-the program: ``` 5 REM "1K ADVENTURE" 10 LET S=VAL "500" 20 LET T=PI-PI 30 LET TU=PI/PI 40 PRINT "TURN ";TU;" TREASURE";T;" STRENGTH ";S 43 IF S<=0 THEN GOTO 5000 45 PRINT "YOU HAVE FOUND-" 50 LET X=INT (RND*VAL "75") 60 LET H=INT (RND*INT PI)+PI/PI 65 GOSUB H*100 70 LET S=S+10 80 CLS 90 LET TU=TU+1 95 GOTO VAL "40" 100 PRINT "A MONSTER.F/B?" 110 INPUT I$ 120 IF I$<>"F" AND I$<>"B" OR I$="B" AND T"F" AND I$<>"B" OR I$="B" AND T