{"id":35,"date":"2025-09-26T15:30:27","date_gmt":"2025-09-26T15:30:27","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/d_bhujel\/?p=35"},"modified":"2025-09-26T15:30:48","modified_gmt":"2025-09-26T15:30:48","slug":"today-i-followed-a-video-made-a-snake-game","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/d_bhujel\/2025\/09\/26\/today-i-followed-a-video-made-a-snake-game\/","title":{"rendered":"Today i followed a video made a snake game"},"content":{"rendered":"\n<p>YouTube video link : <a href=\"https:\/\/youtu.be\/FtqWCo1_I4g?si=L84UJoAtmldik9NZ\">Code Snake Game in Python<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"642\" height=\"667\" src=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/09\/image-5.png\" alt=\"\" class=\"wp-image-36\" srcset=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/09\/image-5.png 642w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/09\/image-5-289x300.png 289w\" sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/figure>\n\n\n\n<p>You have to move with the arrow&#8217;s keys the &#8220;wasd&#8221; don&#8217;t work <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"677\" src=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/09\/image-6.png\" alt=\"\" class=\"wp-image-37\" srcset=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/09\/image-6.png 663w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/09\/image-6-294x300.png 294w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/figure>\n\n\n\n<p>this part of the code allows me to move up, down, left, and right<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"520\" height=\"341\" src=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/09\/image-7.png\" alt=\"\" class=\"wp-image-38\" srcset=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/09\/image-7.png 520w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/09\/image-7-300x197.png 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/figure>\n\n\n\n<p>this part of the code allows me to eat the red square to grow the snake bigger <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"558\" height=\"153\" src=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/09\/image-8.png\" alt=\"\" class=\"wp-image-39\" srcset=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/09\/image-8.png 558w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2025\/09\/image-8-300x82.png 300w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>YouTube video link : Code Snake Game in Python You have to move with the arrow&#8217;s keys the &#8220;wasd&#8221; don&#8217;t work this part of the code allows me to move up, down, left, and right this part of the code allows me to eat the red square to grow the snake bigger<\/p>\n","protected":false},"author":1,"featured_media":40,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-35","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-free-friday"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/posts\/35\/revisions\/41"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/media\/40"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/categories?post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/tags?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}