--- title: "1K Adventure" id: 80590 type: "computer_media" slug: "1k-adventure" url: "http://localhost/computer_media/1k-adventure/" markdown_url: "http://localhost/computer_media/1k-adventure.md" published_at: "2026-11-26T10:48:19+00:00" modified_at: "2026-11-26T10:48:19+00:00" featured_image: url: "http://localhost/wp-content/uploads/2026/11/1k-adventure-1.png" excerpt: "A 1K ZX81 adventure of monsters, potions and treasure, reprinted from Sinclair User." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" - 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/" genre: - name: "Game" slug: "game" taxonomy: "genre" url: "http://localhost/type/game/" media_type: "Program" programmers: - name: "David Clark" slug: "david-clark" taxonomy: "indiv" url: "http://localhost/indiv/david-clark/" download_url: "https://archive.org/download/timex-sinclair-software-archive/1K%20Adventure%20%281984%29%28Clark%2C%20David%29%28TS1000%29%28Program%29.zip" mediadate: "1984" images: - url: "http://localhost/wp-content/uploads/2026/11/1k-adventure-1.png" - url: "http://localhost/wp-content/uploads/2026/11/1k-adventure-2.png" - url: "http://localhost/wp-content/uploads/2026/11/1k-adventure-3.png" - url: "http://localhost/wp-content/uploads/2026/11/1k-adventure-4.png" article_media: - id: 80458 title: "1K Adventure" type: "article" url: "http://localhost/article/1k-adventure/" media_type_tags: "Game" license: false --- # 1K Adventure A small random-encounter adventure for the ZX81 or TS1000 that fits in 1K. Each turn you find a monster, a potion or treasure. Fight a monster (F) and lose strength, or bribe it (B) with treasure if you have enough; a potion adds strength and treasure adds to your hoard. Strength goes up by 10 each turn; the game ends when it reaches zero and tells you how many turns you survived. Press a key after each find to go on. Three corrections were needed for the program to run on a ZX81: lines 100 and 5010 were printed without their closing quotes, and line 50 was printed as LET X=INT +RND*VAL “75”, which the ZX81 rejects (it has no unary plus). The download reads the + as an opening bracket: LET X=INT (RND*VAL “75”). This last correction is a reading of the author’s intent, not printed anywhere. The Plotter reprinted this program from Sinclair User, the British magazine; the issue is not given. Published in The Plotter January 1984 ([1K Adventure](https://timexsinclair.com/article/1k-adventure/)). ## Source Code ``` 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