{"id":85810,"date":"2022-01-28T15:03:24","date_gmt":"2022-01-28T09:33:24","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=85810"},"modified":"2026-06-03T15:53:59","modified_gmt":"2026-06-03T10:23:59","slug":"python-snake-game-project","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/","title":{"rendered":"Python Snake Game &#8211; Create a Snake Game using Turtle"},"content":{"rendered":"<p>Remember the snake game in the feature phones? All of us would have played this game at least once in our childhood. Wouldn\u2019t it be interesting to build your own snake game? In this Python project by TechVidvan, you will be able to learn to develop a Snake game in Python. So, get ready to play your game!<\/p>\n<h3>What is a Snake Game?<\/h3>\n<p>Snake game is one of the classic arcade games that are popular among people. In this game, the player controls the movement of the snake aiming to collect food or fruits. The snake can be moved in all four directions and each food collected increases the score. The game stops when the snake collides with the walls or itself.<\/p>\n<h3>Python Snake Game \u2013 Project Details<\/h3>\n<p>This game will be built in Python using three simple modules, namely, turtle, time and random.<\/p>\n<p>1. Turtle helps in giving the game a window and also helps to create different shapes for snakes, food, etc., and control them.<\/p>\n<p>2. Time module is used here to count the number of seconds elapsed.<\/p>\n<p>3. Random modules help in the generation of random numbers that can be used to place the food at random locations for the snake to collect.<\/p>\n<h3>Download Snake Game Python Program<\/h3>\n<p>Please download the full Python source code for building the snake game: <a href=\"https:\/\/drive.google.com\/file\/d\/1QuQUZ-u6Ah822TxnJrPX_SkynP3LeVkN\/view?usp=drive_link\"><strong>Snake Game Python Project<\/strong><\/a><\/p>\n<h3>Prerequisites for Python Snake Game<\/h3>\n<p>You can use any one of the editors\/ applications where you can run Python code. All the modules, Turtle, Time, and Random are pre-installed. So, there is no need to install any packages.<\/p>\n<h3>Steps to build Snake Game Project in Python<\/h3>\n<p>Before going to the implementation part, let\u2019s first briefly discuss the steps to be followed:<\/p>\n<p>1. Creating a window screen for the game<\/p>\n<p>2. Writing functions for controlling the movement of the snake<\/p>\n<p>3. Locating the food at random locations<\/p>\n<p>4. Incrementing the score on collecting food or ending the game on a collision<\/p>\n<p>This game runs in an infinite loop. Every time the snake moves, the state is checked for food collection or collision. And appropriate actions are taken. Using a turtle, we can set the color and shape of the food and snake of our choice.<\/p>\n<p>We will now implement this logic in Python step by step.<\/p>\n<h4>1. Initializing the Project Components<\/h4>\n<p>Let\u2019s first import the required modules, i.e. turtle, random, and time. And then create the required variables that store delay, the scores, and the list to store the snake segments.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import turtle\r\nimport random\r\nimport time\r\n\r\ndelay=0.1\r\nscore = 0\r\nhigh_score = 0\r\nsegments = []<\/pre>\n<h4>2. Creating Screen and Other components<\/h4>\n<p>The next step is to create a window for the game, setting borders. Then creating the components that represent the snake and the food. Also, a board to show the present score and the highest score.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># Creating the window and setting height and width\r\nwn = turtle.Screen()\r\nwn.title(\"TechVidan's Snake Game\")\r\nwn.bgcolor(\"black\")\r\nwn.setup(width=700, height=700)\r\nwn.tracer(0)\r\n\r\n#Creating a border for the game\r\nturtle.speed(5)\r\nturtle.pensize(4)\r\nturtle.penup()\r\nturtle.goto(-310,250)\r\nturtle.pendown()\r\nturtle.color('black')\r\nturtle.forward(600)\r\nturtle.right(90)\r\nturtle.forward(500)\r\nturtle.right(90)\r\nturtle.forward(600)\r\nturtle.right(90)\r\nturtle.forward(500)\r\nturtle.penup()\r\nturtle.hideturtle()\r\n\r\n# Creating head of the snake\r\nhead = turtle.Turtle()\r\nhead.speed(0)\r\nhead.shape(\"square\")\r\nhead.color(\"white\")\r\nhead.penup()\r\nhead.goto(0, 0)\r\nhead.direction = \"Stop\"\r\n\r\n\r\n#Creating food in the game\r\nfood = turtle.Turtle()\r\nfood_color = random.choice(['yellow', 'green', 'tomato'])\r\nfood_shape = random.choice([ 'triangle', 'circle','square'])\r\nfood.speed(0)\r\nfood.shape(food_shape)\r\nfood.color(food_color)\r\nfood.penup()\r\nfood.goto(20, 20)\r\n\r\n#Creating space to show score and high score\r\nscoreBoard = turtle.Turtle()\r\nscoreBoard.speed(0)\r\nscoreBoard.shape(\"square\")\r\nscoreBoard.color(\"white\")\r\nscoreBoard.penup()\r\nscoreBoard.hideturtle()\r\nscoreBoard.goto(0, 250)\r\nscoreBoard.write(\"Score : 0 High Score : 0\", align=\"center\",\r\n  font=(\"Courier\", 25, \"bold\"))<\/pre>\n<p>Here,<\/p>\n<p>a. penup() stops drawing the turtle pen.<\/p>\n<p>b. speed() sets the speed with 0 being fastest, 10 being fast, 6 being normal, 3 being slow, and 1 being slowest. If no argument is given, it returns the current speed.<\/p>\n<p>c. color() sets the pen color and fill color.<\/p>\n<p>d. shape() \u2013sets the shape to the turtle object.<\/p>\n<p>e. hideturtle() makes the turtle invisible.<\/p>\n<p>f. goto() moves the turtle to the given position.<\/p>\n<h4>3. Adding movement functions for the snake<\/h4>\n<p>Before going to the main part, there is another step that is required to be done. That is, to create functions that control the movement of the snake by pressing the respective keys on the keyboard.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># assigning key directions\r\ndef move_up():\r\n if head.direction != \"down\":\r\n  head.direction = \"up\"\r\n\r\n\r\ndef move_down():\r\n if head.direction != \"up\":\r\n  head.direction = \"down\"\r\n\r\n\r\ndef move_left():\r\n if head.direction != \"right\":\r\n  head.direction = \"left\"\r\n\r\n\r\ndef move_right():\r\n if head.direction != \"left\":\r\n  head.direction = \"right\"\r\n\r\n\r\ndef move():\r\n if head.direction == \"up\":\r\n  y = head.ycor()\r\n  head.sety(y+20)\r\n if head.direction == \"down\":\r\n  y = head.ycor()\r\n  head.sety(y-20)\r\n if head.direction == \"left\":\r\n  x = head.xcor()\r\n  head.setx(x-20)\r\n if head.direction == \"right\":\r\n  x = head.xcor()\r\n  head.setx(x+20)\r\n\r\n\r\nwn.listen() # This listens to the key press\r\n#If any one of up, down, left or right key pressed, one of the below actions take place\r\nwn.onkeypress(move_up, \"Up\")\r\nwn.onkeypress(move_down, \"Down\")\r\nwn.onkeypress(move_left, \"Left\")\r\nwn.onkeypress(move_right, \"Right\")<\/pre>\n<p>One important thing to be noticed in the functions is the if conditions. If the snake is moving up, it is not possible to change the direction to down. Before this, it needs to either move to the right or left. Remember? The same applies here too, to all four directions.<\/p>\n<h4>4. The main while loop controlling the game<\/h4>\n<p>We are in the last step, but an important step that controls the whole game. As discussed previously, we use a while loop that runs infinitely till the conditions are met that ends the game.<\/p>\n<p>The movement of the snake is done by changing the coordinates of each segment to the coordinates of the previous segment.<\/p>\n<p>Here we have three possible cases, other than the movement of the snake in one of the four directions. These are:<\/p>\n<p>A. The snake collects food, the distance between the snake and the food is less than the threshold. In this case, we need to<\/p>\n<ul>\n<li>Increment the score<\/li>\n<li>Change the position of the food<\/li>\n<li>Add a new segment to the snake<\/li>\n<\/ul>\n<p>B. Collision with the walls, when the distance of the snake from the wall is less than the threshold set. Then, we end the game by<\/p>\n<ul>\n<li>Clearing the screen<\/li>\n<li>Showing that game is over and the final score<\/li>\n<\/ul>\n<p>C. Collision with the body, when the distance between the head of the snake and one of the segments is less than the threshold. In this case also, we end the game.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># Main Game\r\nwhile True: #Running an infinite till the collision occurs and then the game ends\r\nwn.update()\r\n\r\n #Ending the game on collision with any of the walls\r\n if head.xcor() &gt; 280 or head.xcor() &lt; -300 or head.ycor() &gt; 240 or head.ycor() &lt; -240:\r\n  time.sleep(1) #This reduces the speed of snake\r\n  wn.clear()\r\n  wn.bgcolor('blue')\r\n  scoreBoard.goto(0,0)\r\n  scoreBoard.write(\"GAME OVER\\n Your Score is : {}\".format(\r\nscore), align=\"center\", font=(\"Courier\", 30, \"bold\"))\r\n\r\n#If snake collects food\r\nif head.distance(food) &lt; 20:\r\n #increasing score and updating the high_score if required\r\n score += 10\r\nif score &gt; high_score:\r\n high_score = score\r\nscoreBoard.clear()\r\nscoreBoard.write(\"Score : {} High Score : {} \".format(\r\nscore, high_score), align=\"center\", font=(\"Courier\", 25, \"bold\"))\r\n\r\n#creating food at random location\r\nx_cord = random.randint(-290, 270)\r\ny_cord = random.randint(-240, 240)\r\nfood_color = random.choice(['yellow', 'green', 'tomato'])\r\nfood_shape = random.choice([ 'triangle', 'circle','square'])\r\nfood.speed(0)\r\nfood.shape(food_shape)\r\nfood.color(food_color)\r\nfood.goto(x_cord, y_cord)\r\n\r\n# Adding a new segment to the snake\r\nnew_segment = turtle.Turtle()\r\nnew_segment.speed(0)\r\nnew_segment.shape(\"square\")\r\nnew_segment.color(\"white smoke\") # giving a new color to the tail\r\nnew_segment.penup()\r\nsegments.append(new_segment) #adding the segment to the list\r\n\r\n\r\n# Moving the snake\r\nfor i in range(len(segments)-1, 0, -1):\r\n x = segments[i-1].xcor()\r\n y = segments[i-1].ycor()\r\n segments[i].goto(x, y)\r\nif len(segments) &gt; 0:\r\n x = head.xcor()\r\n y = head.ycor()\r\n segments[0].goto(x, y)\r\nmove()\r\n\r\n#Checking for collision with the body\r\n for segment in segments:\r\n  if segment.distance(head) &lt; 20:\r\n   time.sleep(1)\r\n   wn.clear()\r\n   wn.bgcolor('blue')\r\n   scoreBoard.goto(0,0)\r\n   scoreBoard.write(\"\\t\\tGAME OVER\\n Your Score is : {}\".format(\r\n   score), align=\"center\", font=(\"Courier\", 30, \"bold\"))\r\n\r\n time.sleep(delay)\r\n\r\nturtle.Terminator()<\/pre>\n<p>Now we are all set to play the game. Run the program written above by saving it as SnakeGame.py.<\/p>\n<h3>Python Snake Game Output<\/h3>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/01\/python-snake-game-output.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-85866\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/01\/python-snake-game-output.webp\" alt=\"python snake game output\" width=\"1922\" height=\"1028\" \/><\/a><\/p>\n<h3>Summary<\/h3>\n<p>In this Python project, we have successfully built the Snake game. For this purpose, we used the turtle, time, and random modules which are available in the standard library. We learned to control the movement of the snake, place the food at a random location and find the state of the snake. And based on the state we increment score on food collection or end game on collision. Hoping that you enjoyed making this project. Looking forward to seeing you again on some other project!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Remember the snake game in the feature phones? All of us would have played this game at least once in our childhood. Wouldn\u2019t it be interesting to build your own snake game? In this&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":85864,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1053],"tags":[4386,483,3249,4594,4595],"class_list":["post-85810","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-python-game-project","tag-python-project","tag-python-project-for-beginners","tag-python-snake-game","tag-python-snake-game-project"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python Snake Game - Create a Snake Game using Turtle - TechVidvan<\/title>\n<meta name=\"description\" content=\"Develop Python Snake game program in easy steps using turtle, time, and random modules which are available in the standard Python library.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Snake Game - Create a Snake Game using Turtle - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Develop Python Snake game program in easy steps using turtle, time, and random modules which are available in the standard Python library.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-28T09:33:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-03T10:23:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2022\/01\/python-snake-game.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python Snake Game - Create a Snake Game using Turtle - TechVidvan","description":"Develop Python Snake game program in easy steps using turtle, time, and random modules which are available in the standard Python library.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/","og_locale":"en_US","og_type":"article","og_title":"Python Snake Game - Create a Snake Game using Turtle - TechVidvan","og_description":"Develop Python Snake game program in easy steps using turtle, time, and random modules which are available in the standard Python library.","og_url":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2022-01-28T09:33:24+00:00","article_modified_time":"2026-06-03T10:23:59+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2022\/01\/python-snake-game.webp","type":"image\/webp"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Python Snake Game &#8211; Create a Snake Game using Turtle","datePublished":"2022-01-28T09:33:24+00:00","dateModified":"2026-06-03T10:23:59+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/"},"wordCount":928,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2022\/01\/python-snake-game.webp","keywords":["python game project","Python project","python project for beginners","Python Snake Game","Python snake game project"],"articleSection":["Python Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/","url":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/","name":"Python Snake Game - Create a Snake Game using Turtle - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2022\/01\/python-snake-game.webp","datePublished":"2022-01-28T09:33:24+00:00","dateModified":"2026-06-03T10:23:59+00:00","description":"Develop Python Snake game program in easy steps using turtle, time, and random modules which are available in the standard Python library.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2022\/01\/python-snake-game.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2022\/01\/python-snake-game.webp","width":1200,"height":628,"caption":"python snake game"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/python-snake-game-project\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Python Snake Game &#8211; Create a Snake Game using Turtle"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/85810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=85810"}],"version-history":[{"count":1,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/85810\/revisions"}],"predecessor-version":[{"id":448143,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/85810\/revisions\/448143"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/85864"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=85810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=85810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=85810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}