{"id":12,"date":"2025-11-21T16:35:05","date_gmt":"2025-11-21T16:35:05","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/l_ghanoom\/?p=12"},"modified":"2025-11-21T16:35:05","modified_gmt":"2025-11-21T16:35:05","slug":"snake-game","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/l_ghanoom\/2025\/11\/21\/snake-game\/","title":{"rendered":"snake game"},"content":{"rendered":"\n<p>today i mabe snake game<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#simple snake Game in python 3 for Beginners\n#By @TokyoEdTech\n#part 1: Getting started\n\nimport turtle\n\n#set up the screen\nwn = turtle.screen ()\nwn.title (\"snake Game by @TokyoEdtech\")\nwn.bgcolor(\"green\")\nwn.setup(width=600 , height=600)\nwn.tracer(0) # Turns off the screen updates\n\n#Snake head\nhaed = turtle.Turtle()\nhead.speed(0)\nhaed.shape(\"square\")\nhaed.color(\"btack\")\nhaed.penup()\nhaed.goto(0,0)\nhaed.direction = \"stop\"\n\n# Main game loop\nwhile Tru\n\nwn.mainloop()<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>today i mabe snake game<\/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-12","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/l_ghanoom\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/l_ghanoom\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/l_ghanoom\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/l_ghanoom\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/l_ghanoom\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/l_ghanoom\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":13,"href":"https:\/\/theroyalscode.com\/students\/l_ghanoom\/wp-json\/wp\/v2\/posts\/12\/revisions\/13"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/l_ghanoom\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/l_ghanoom\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/l_ghanoom\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}