{"id":68,"date":"2026-01-22T15:08:22","date_gmt":"2026-01-22T15:08:22","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/c_jones\/?p=68"},"modified":"2026-01-22T15:14:09","modified_gmt":"2026-01-22T15:14:09","slug":"free-friday-12-19-25","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/c_jones\/2026\/01\/22\/free-friday-12-19-25\/","title":{"rendered":"Free friday 12\/19\/25"},"content":{"rendered":"\n<p>Today i made a small space invaders game in visual studio code<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"895\" height=\"786\" src=\"https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/01\/image-3.png\" alt=\"\" class=\"wp-image-69\" srcset=\"https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/01\/image-3.png 895w, https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/01\/image-3-300x263.png 300w, https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/01\/image-3-768x674.png 768w\" sizes=\"auto, (max-width: 895px) 100vw, 895px\" \/><\/figure>\n\n\n\n<p>I made it so that you can move the ship left and right using if keys[pygame.K_LEFT] and player.x &gt; 0:<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; player.x -= 5<\/p>\n\n\n\n<p>&nbsp; &nbsp; if keys[pygame.K_RIGHT] and player.x &lt; w &#8211; 40:<\/p>\n\n\n\n<p>\u00a0 \u00a0 \u00a0 \u00a0 player.x += 5<\/p>\n\n\n\n<p>which allowed it to move left and right.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today i made a small space invaders game in visual studio code I made it so that you<\/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-68","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/posts\/68","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/comments?post=68"}],"version-history":[{"count":2,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":73,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/posts\/68\/revisions\/73"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/media?parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/categories?post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/tags?post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}