{"id":16,"date":"2025-11-21T16:39:04","date_gmt":"2025-11-21T16:39:04","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/q_alobeid\/?p=16"},"modified":"2025-11-21T16:39:04","modified_gmt":"2025-11-21T16:39:04","slug":"free-friday","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/q_alobeid\/2025\/11\/21\/free-friday\/","title":{"rendered":"Free Friday"},"content":{"rendered":"\n<p>I&#8217;m almost finished with SPACE INVADERS. The game was very enjoyable, and I had a great time playing it. I thank the teacher and the instructor for their help.<\/p>\n\n\n\n<p>This is some of the code.<\/p>\n\n\n\n<p>This code loads the image..<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>RED_SPACE_SHIP = pygame.image.load(\n\n\u00a0 \u00a0 os.path.join(\"assets\", \"pixel_ship_red_small.png\"))\n\nGREEN_SPACE_SHIP = pygame.image.load(\n\n\u00a0 \u00a0 os.path.join(\"assets\", \"pixel_ship_green_small.png\"))\n\nBLUE_SPACE_SHIP = pygame.image.load(\n\n\u00a0 \u00a0 os.path.join(\"assets\", \"pixel_ship_blue_small.png\"))\n\nYELLOW_SPACE = pygame.image.load( \u00a0\n\n\u00a0os.path.join(\"assets\", \"pixel_ship_yellow.png\"))\n\nRED_LASER = pygame.image.load(os.path.join(\"assets\", \"pixel_laser_red.png\"))\n\nGREEN_LASER = pygame.image.load(os.path.join(\"assets\", \"pixel_laser_green.png\"))\n\nBLUE_LASER = pygame.image.load(os.path.join(\"assets\", \"pixel_laser_blue.png\"))\n\nYELLOW_LASER = pygame.image.load(\n\n\u00a0 \u00a0 os.path.join(\"assets\", \"pixel_laser_yellow.png\"))\n\nBG = pygame.transform.scale(pygame.image.load(\n\n\u00a0 \u00a0os.path.join(\"assets\", \"background-black.png\")), \u00a0(WIDTH, HEIGHT))<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m almost finished with SPACE INVADERS. The game was very enjoyable, and I had a great time playing it. I thank the teacher and the instructor for their help. This is some of the code. This code loads the image..<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/q_alobeid\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/q_alobeid\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/q_alobeid\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/q_alobeid\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/q_alobeid\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/q_alobeid\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":17,"href":"https:\/\/theroyalscode.com\/students\/q_alobeid\/wp-json\/wp\/v2\/posts\/16\/revisions\/17"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/q_alobeid\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/q_alobeid\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/q_alobeid\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}