{"id":77,"date":"2026-02-13T16:04:17","date_gmt":"2026-02-13T16:04:17","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/c_jones\/?p=77"},"modified":"2026-02-13T16:04:17","modified_gmt":"2026-02-13T16:04:17","slug":"free-friday-2-13-26","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/c_jones\/2026\/02\/13\/free-friday-2-13-26\/","title":{"rendered":"Free Friday 2\/13\/26"},"content":{"rendered":"\n<p>Today in class I made a snake game in visual studio code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"589\" src=\"https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/02\/image-2.png\" alt=\"\" class=\"wp-image-79\" srcset=\"https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/02\/image-2.png 602w, https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/02\/image-2-300x294.png 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/figure>\n\n\n\n<p>I used<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"661\" height=\"323\" src=\"https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/02\/image-3.png\" alt=\"\" class=\"wp-image-80\" srcset=\"https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/02\/image-3.png 661w, https:\/\/theroyalscode.com\/students\/c_jones\/wp-content\/uploads\/2026\/02\/image-3-300x147.png 300w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/figure>\n\n\n\n<p>I used the code if snake.x &lt; 0 or snake.x &gt;= WIDTH or snake.y &lt; 0 or snake.y &gt;= HEIGHT:<\/p>\n\n\n\n<p>\u00a0 \u00a0 \u00a0 \u00a0 running = False to make it so that the game would stop if the snake left the cube.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today in class I made a snake game in visual studio code. I used I used the code<\/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-77","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/posts\/77","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=77"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":81,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/posts\/77\/revisions\/81"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/c_jones\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}