{"id":104,"date":"2026-01-09T15:16:00","date_gmt":"2026-01-09T15:16:00","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/a_ploss\/?p=104"},"modified":"2026-01-09T15:16:00","modified_gmt":"2026-01-09T15:16:00","slug":"1-9-26-free-friday","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/a_ploss\/2026\/01\/09\/1-9-26-free-friday\/","title":{"rendered":"1-9-26 free Friday"},"content":{"rendered":"\n<p>so today i was working on a choose your own adventure game(one of my favorite type of adventure games) and in it you&#8217;re near a crossroads and choose where to go its not finished yet since i want to make more paths but here&#8217;s some of the code and screenshots and the video i used<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1011\" height=\"418\" src=\"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2026\/01\/image.png\" alt=\"\" class=\"wp-image-105\" style=\"aspect-ratio:2.418745275888133;width:451px;height:auto\" srcset=\"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2026\/01\/image.png 1011w, https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2026\/01\/image-300x124.png 300w, https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2026\/01\/image-768x318.png 768w\" sizes=\"auto, (max-width: 1011px) 100vw, 1011px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code> answer = input(\"you reach a crossroads, would you like to left or right\").lower()\n        if answer == \"left\":\n            answer = input(\"you encounter a monster, would you like to run or attack\")\n            if answer == \"attack\":\n                print(\"that was not the gratest idea, you lost!\")\n            else:\n                print(\"good choice, you made it away safly.\")<\/code><\/pre>\n\n\n\n<p>here is some of the code and it asking the user if they want to go left or right and if they go left they encounter a monster and are ask to run or attack it with one of them leading to a game over<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Choose Your Own Adventure Game in Python (Beginners)\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/DEcFCn2ubSg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>here&#8217;s the video i used to help make this adventure game<\/p>\n","protected":false},"excerpt":{"rendered":"<p>so today i was working on a choose your own adventure game(one of my favorite type of adventure games) and in it you&#8217;re near a crossroads and choose where to go its not finished yet since i want to make more paths but here&#8217;s some of the code and screenshots and the video i used [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-104","post","type-post","status-publish","format-standard","hentry","category-free-friday"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":106,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts\/104\/revisions\/106"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/categories?post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/tags?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}