{"id":15731,"date":"2019-10-15T22:09:34","date_gmt":"2019-10-16T02:09:34","guid":{"rendered":"http:\/\/scruss.com\/blog\/?p=15731"},"modified":"2019-10-15T22:09:40","modified_gmt":"2019-10-16T02:09:40","slug":"lovely-automata-bbcbasicbot","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2019\/10\/15\/lovely-automata-bbcbasicbot\/","title":{"rendered":"Lovely automata: bbcbasicbot"},"content":{"rendered":"\n<figure class=\"wp-block-video\"><video height=\"512\" style=\"aspect-ratio: 640 \/ 512;\" width=\"640\" controls src=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2019\/10\/EG3Rd5nWoAUtm-R.mp4\"><\/video><figcaption>bbcbasicbot rendering of my one-liner<\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/twitter.com\/bbcbasicbot\">BBC BASIC bot [beta2]<\/a> on Twitter is lovely. You tweet a BBC BASIC program to it and it replies with an animation rendering of what your program would look like on a BBC Micro.<\/p>\n\n\n\n<p>I sent it this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">1MODE4:VDU23,224,24,48,96,193,131,6,12,24:VDU23,225,24,12,6,131,193,96,48,24\n2PRINTCHR$(224.5+RND(1));:GOTO2<\/pre>\n\n\n\n<p>which readers might recognize as <a href=\"https:\/\/archive.org\/details\/10print\">10 PRINT<\/a>, the endless random maze one-liner for the C64. This program even inspired its own book &#8211; also called <a href=\"https:\/\/archive.org\/details\/10_PRINT_121114\">10 PRINT CHR$(205.5+RND(1)); : GOTO 10<\/a> &#8211; about simple generative art.<\/p>\n\n\n\n<p>You can <a href=\"https:\/\/bbc.godbolt.org\/?autorun&amp;loadBasic=https:\/\/gist.githubusercontent.com\/scruss\/d52119a5630a633a6d3beae010a4143b\/raw\/fb696159c1b27ac60a386cbe5ca7d92cdafc42f5\/2print\">run it in your browser <\/a>thanks to the amazing <a href=\"https:\/\/bbc.godbolt.org\/\">JSBeeb<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>BBC BASIC bot [beta2] on Twitter is lovely. You tweet a BBC BASIC program to it and it replies with an animation rendering of what your program would look like on a BBC Micro. I sent it this: 1MODE4:VDU23,224,24,48,96,193,131,6,12,24:VDU23,225,24,12,6,131,193,96,48,24 2PRINTCHR$(224.5+RND(1));:GOTO2 which readers might recognize as 10 PRINT, the endless random maze one-liner for the C64. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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}},"categories":[2],"tags":[2062,857,1913,23],"class_list":["post-15731","post","type-post","status-publish","format-standard","hentry","category-goatee-stroking-musing-or-something","tag-basic","tag-bbc","tag-retro","tag-twitter"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-45J","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/15731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=15731"}],"version-history":[{"count":1,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/15731\/revisions"}],"predecessor-version":[{"id":15733,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/15731\/revisions\/15733"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=15731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=15731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=15731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}