{"id":70,"date":"2025-09-26T15:35:32","date_gmt":"2025-09-26T15:35:32","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/a_ploss\/?p=70"},"modified":"2025-09-26T15:37:10","modified_gmt":"2025-09-26T15:37:10","slug":"9-26-25","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/a_ploss\/2025\/09\/26\/9-26-25\/","title":{"rendered":"9-26-25"},"content":{"rendered":"\n<p>Today I was working on the snake game didn&#8217;t add anything to it though I just fixed some errors for the scoring as it isn&#8217;t working properly(still not working properly) but here are some screenshots and the link to the video<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"278\" src=\"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/09\/image-4.png\" alt=\"\" class=\"wp-image-71\" srcset=\"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/09\/image-4.png 975w, https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/09\/image-4-300x86.png 300w, https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/09\/image-4-768x219.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>   if food.distance(snake) &lt; 20:\n            time.sleep(1)\n            screen.clear()\n            screen.bgcolor(\"turquoise\")\n            scoring.goto(0, 0)\n            scoring.write(\"     Game Over\\n your score is {}\".format(score), align=\"center\", font=(\"courier\", 24, \"bold\"))\n<\/code><\/pre>\n\n\n\n<p>this part of the code is supposed to give your score if you lose but its still needs a lil bit fixing up here is the video link i used to help i stopped at 26:23:<\/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><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I was working on the snake game didn&#8217;t add anything to it though I just fixed some errors for the scoring as it isn&#8217;t working properly(still not working properly) but here are some screenshots and the link to the video this part of the code is supposed to give your score if you lose [&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-70","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\/70","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=70"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":72,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts\/70\/revisions\/72"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}