{"id":77,"date":"2025-10-10T14:19:46","date_gmt":"2025-10-10T14:19:46","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/a_ploss\/?p=77"},"modified":"2025-10-10T14:19:46","modified_gmt":"2025-10-10T14:19:46","slug":"10-10-25-free-friday","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/a_ploss\/2025\/10\/10\/10-10-25-free-friday\/","title":{"rendered":"10-10-25 free friday"},"content":{"rendered":"\n<p>today i was working on the snake game i finished the coding i just need to fix some errors<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"282\" src=\"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/10\/image-1-1024x282.png\" alt=\"\" class=\"wp-image-78\" srcset=\"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/10\/image-1-1024x282.png 1024w, https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/10\/image-1-300x83.png 300w, https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/10\/image-1-768x211.png 768w, https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/10\/image-1.png 1133w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code> for food in old_fruit:\n        if food.distance(snake) &lt; 20:\n            time.sleep(1)\n            screen.clear()\n            screen.bgcolor(\"turquoise\")\n            scoring.goto(0, 0)<\/code><\/pre>\n\n\n\n<p>here is a screenshot and some of the code thats supposed to make the game over screen but for some reason isnt working here is the video i used to help<\/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=\"Python Projects | Create Snake Game Step By Step In Python For Beginners\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/bzWzlXiavXs?start=1558&#038;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>i finished it the video just need to fix errors in my code<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>today i was working on the snake game i finished the coding i just need to fix some errors here is a screenshot and some of the code thats supposed to make the game over screen but for some reason isnt working here is the video i used to help i finished it the video [&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-77","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\/77","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=77"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":79,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts\/77\/revisions\/79"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}