{"id":84,"date":"2025-11-07T16:28:00","date_gmt":"2025-11-07T16:28:00","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/a_ploss\/?p=84"},"modified":"2025-11-07T16:28:00","modified_gmt":"2025-11-07T16:28:00","slug":"11-7-25-free-friday","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/a_ploss\/2025\/11\/07\/11-7-25-free-friday\/","title":{"rendered":"11-7-25 free Friday"},"content":{"rendered":"\n<p>Today i worked on a game that you can dodge things it&#8217;s not done yet but it&#8217;s almost finished though here&#8217;s screenshots and a lil bit of code and the video i used<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"506\" src=\"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/11\/image-1024x506.png\" alt=\"\" class=\"wp-image-85\" style=\"width:587px;height:auto\" srcset=\"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/11\/image-1024x506.png 1024w, https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/11\/image-300x148.png 300w, https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/11\/image-768x379.png 768w, https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/11\/image.png 1241w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>def main():\n    run = True\n\n    player = pygame.Rect(200, HIEGHT - PLAYER_HIEGHT, PLAYER_WIDTH, PLAYER_HIEGHT)\n    clock = pygame.time.Clock()\n    start_time = time.time()\n    elapsed_time = 0\n\n    star_add_increment = 2000\n    star_count = 0\n\n    stars = &#91;]\n    hit = False<\/code><\/pre>\n\n\n\n<p>here is a screenshot and a piece of the code this code here makes sure the game is running and making the stars and the player<\/p>\n\n\n\n<p>here is the video i used to help i stopped at 37:18<\/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=\"How to Make a Game in Python\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/waY3LfJhQLY?start=53&#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>here is the video the game is not done but I&#8217;m almost done and then add some other and changing some of it<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today i worked on a game that you can dodge things it&#8217;s not done yet but it&#8217;s almost finished though here&#8217;s screenshots and a lil bit of code and the video i used here is a screenshot and a piece of the code this code here makes sure the game is running and making the [&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-84","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\/84","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=84"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":86,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts\/84\/revisions\/86"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}