{"id":245,"date":"2026-09-19T05:57:48","date_gmt":"2026-09-19T05:57:48","guid":{"rendered":"https:\/\/permacomputer.solarpunk.au\/?p=245"},"modified":"2026-09-19T05:57:48","modified_gmt":"2026-09-19T05:57:48","slug":"new-type-in-game-bagquest-bas","status":"publish","type":"post","link":"https:\/\/permacomputer.solarpunk.au\/?p=245","title":{"rendered":"New Type-in Game: BAGQUEST.BAS"},"content":{"rendered":"\n<iframe loading=\"lazy\" frameborder=\"0\" src=\"https:\/\/itch.io\/embed\/5025478?border_width=5&amp;bg_color=628ee5&amp;fg_color=ffffff&amp;link_color=fff51b&amp;border_color=d2c800\" width=\"560\" height=\"175\"><a href=\"https:\/\/vidakovich.itch.io\/bagquest\">BAGQUEST.BAS by ~vidak<\/a><\/iframe>\n\n\n\n<h1 class=\"wp-block-heading\">REM BAGQUEST README<\/h1>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/codeberg.org\/vidak\/BAGQUEST.BAS\/raw\/branch\/main\/static\/bag-of-tokens-medium.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"799\" height=\"533\" src=\"https:\/\/permacomputer.solarpunk.au\/wp-content\/uploads\/2026\/09\/bag-of-tokens-medium.jpg\" alt=\"&quot;Bag of communion tokens&quot; by east_lothian_museums is licensed under CC BY-NC-SA 2.0.\" class=\"wp-image-250\" srcset=\"https:\/\/permacomputer.solarpunk.au\/wp-content\/uploads\/2026\/09\/bag-of-tokens-medium.jpg 799w, https:\/\/permacomputer.solarpunk.au\/wp-content\/uploads\/2026\/09\/bag-of-tokens-medium-300x200.jpg 300w, https:\/\/permacomputer.solarpunk.au\/wp-content\/uploads\/2026\/09\/bag-of-tokens-medium-768x512.jpg 768w\" sizes=\"auto, (max-width: 799px) 100vw, 799px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Play Online Here<\/h2>\n\n\n\n<p class=\"has-x-large-font-size wp-block-paragraph\"><a href=\"https:\/\/stig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xYlNJGG7In6OgkRl3ceaVQwT8nlOBL85Mt8zGU-xomqRnBolRiqz8a_vgzEN4kcJya4osYa16lcIhJQsC4m8C2UAXrMaR3psI1lvMz72O881aA9y908HqcnsVHUomt7dOgU-1S6U7WwVbh1cupq6REfZsvjnhHXMpLIUdp836FCmQT6P9iGP3PviXkp6oRC1A8uQXLjNPQirosAyNMuAkAWrlCXnyiecy3PMf_GGblM_p3bFKrmV1ZXJRvw9EKNoO4TCtYa1QR0U6L_98AnNQ2XQ9aFvuTwVOtLTkPvmsM87hzvVHYSkYASo245rFyom66lSPcs17MTkNjG7Cj-W89yHLnUs5w0qlf9Dw\" target=\"_blank\" rel=\"noopener\">https:\/\/stigc.dk<\/a><a href=\"https:\/\/codeberg.org\/vidak\/BAGQUEST.BAS#tl-dr\"><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TL\/DR:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This little text action RPG is a labour of love for me. I first imagined the concept for this game while I was revising <a href=\"https:\/\/sr.ht\/~vidak\/uwu.lisp\/\">uwu.lisp<\/a>, which, as you may not know, is a <a href=\"https:\/\/git.sr.ht\/~vidak\/uwu.el\">very simple Unicode tamagotchi clone<\/a> for Common Lisp.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The idea is fairly simple: you have a &#8220;world of bags&#8221;, as one might put it. That is, you move into and out of bags which have portals inside them, linking them to other one-dimensional planes of existence.<a href=\"https:\/\/codeberg.org\/vidak\/BAGQUEST.BAS#how-to-install\"><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How To Install<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Type in by hand. Approximately ~250 lines of code.<\/li>\n\n\n\n<li>Obtain <code>bagquest.prg<\/code>, and run in VICE emulator:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\"> <code>$ x64 bagquest.prg\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">The Premise Of The Bag Quest<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Okay so you have decided to keep reading&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"384\" height=\"272\" src=\"https:\/\/permacomputer.solarpunk.au\/wp-content\/uploads\/2026\/09\/startup.gif\" alt=\"\" class=\"wp-image-248\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>A screenshot of BAGQUEST.BAS running in VICE Commodore 64 emulator.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The premise of the game is simple enough:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Out laid before you are forty (40) tiles.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You are the <code>@<\/code> symbol, and you can move left or right.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is no tangible objective to the game, other than to have fun.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following are the current total number of objects in the game, and their symbolic character representations:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>player character &#8211; @<\/li>\n\n\n\n<li>a bag entry &#8211; B<\/li>\n\n\n\n<li>a bag exit &#8211; X<\/li>\n\n\n\n<li>a key for a locked door &#8211; K<\/li>\n\n\n\n<li>a greedy lil goblin &#8211; G<\/li>\n\n\n\n<li>a (locked) door &#8211; D<\/li>\n\n\n\n<li>a pile of treasure loot &#8211; L<\/li>\n\n\n\n<li>a magic wand &#8211; W<\/li>\n\n\n\n<li>a treasure map &#8211; M<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Bags; Various and Sundry, Purposes Unknown?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"384\" height=\"272\" src=\"https:\/\/permacomputer.solarpunk.au\/wp-content\/uploads\/2026\/09\/placing-and-entering-bags-1.gif\" alt=\"\" class=\"wp-image-247\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Place a bag entry by pressing the <code>B<\/code> key on your computer. Then, to enter the bag, move onto its tile.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In order to move back out of that bag, move onto the <code>X<\/code> tile you find in the bag you have just entered.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Goblins, <code>G<\/code>, and doors, <code>D<\/code>, are both obstacles to the player. In order to move past their tile, you will need to bribe goblins with loot <code>L<\/code>, and unlock doors with keys <code>K<\/code>. Both of these items can be found littered within the bags you discover.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Added to this are magic wands <code>W<\/code> and treasure maps <code>M<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wands will whisk players away to a random empty tile within a randomly selected bag.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Treasure maps, however, allow players the choice of bag they wish to enter&#8211;at the added risk that they will not know onto which tile within the bag they will end up!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A Word To The Wizards<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The data structures for the game are as simple as I could possibly make them, which limits the total number of bags one may possess to ten (10), but it should not be difficult to modify the code further to increase the total number of bags, and their attendant sizes, with a little exploration from the user, if they were to take the initiative.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A world of bags may be modeled thus:<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code>130 DIM W(40,10):REM WORLD ARRAY\n140 DIM B(10):REM BAG PARENT CONNECTION\n150 DIM BX(10):REM BAG ENTRY POSITIONS\n160 DIM BY(10):REM BAG EXIT POSITIONS\n170 CURRENTBAG = 1:REM START IN BAG 1 (MAIN WORLD)\n180 P = INT(RND(1)*40)+1:REM PLAYER POSITION ON INIT\n190 HAVEBAG=10:REM START WITH 10 BAGS (??)\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Each full-stop in the printed array W is a one-dimensional position in a line which the user may inhabit one-at-a-time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>BAGQUEST.BAS by ~vidak REM BAGQUEST README Play Online Here https:\/\/stigc.dk TL\/DR: This little text action RPG is a labour of love for me. I first imagined the concept for this game while I was revising uwu.lisp, which, as you may not know, is a very simple Unicode tamagotchi clone for Common Lisp. The idea is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[23],"tags":[24,17,15],"class_list":["post-245","post","type-post","status-publish","format-standard","hentry","category-zines","tag-commodore-64","tag-retrocomputing","tag-retrogaming"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/permacomputer.solarpunk.au\/index.php?rest_route=\/wp\/v2\/posts\/245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/permacomputer.solarpunk.au\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/permacomputer.solarpunk.au\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/permacomputer.solarpunk.au\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/permacomputer.solarpunk.au\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=245"}],"version-history":[{"count":2,"href":"https:\/\/permacomputer.solarpunk.au\/index.php?rest_route=\/wp\/v2\/posts\/245\/revisions"}],"predecessor-version":[{"id":251,"href":"https:\/\/permacomputer.solarpunk.au\/index.php?rest_route=\/wp\/v2\/posts\/245\/revisions\/251"}],"wp:attachment":[{"href":"https:\/\/permacomputer.solarpunk.au\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/permacomputer.solarpunk.au\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/permacomputer.solarpunk.au\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}