{"id":68,"date":"2025-10-17T13:21:24","date_gmt":"2025-10-17T13:21:24","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/b_orsini\/?p=68"},"modified":"2025-10-17T13:21:24","modified_gmt":"2025-10-17T13:21:24","slug":"today-i-made-a-guessing-game","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/b_orsini\/2025\/10\/17\/today-i-made-a-guessing-game\/","title":{"rendered":"today i made a guessing game"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"763\" height=\"689\" src=\"https:\/\/theroyalscode.com\/students\/b_orsini\/wp-content\/uploads\/2025\/10\/image-4.png\" alt=\"\" class=\"wp-image-69\" srcset=\"https:\/\/theroyalscode.com\/students\/b_orsini\/wp-content\/uploads\/2025\/10\/image-4.png 763w, https:\/\/theroyalscode.com\/students\/b_orsini\/wp-content\/uploads\/2025\/10\/image-4-300x271.png 300w\" sizes=\"auto, (max-width: 763px) 100vw, 763px\" \/><\/figure>\n\n\n\n<p>this code uses the random function which takes a random number and makes it the number you have to guess.<\/p>\n\n\n\n<p>and the else at the bottom of the picture makes sure that its a number and if it is not then it will print invalid guess and will tell you to make another guess.  i also have it print the amount of guesses it took you to find the answer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>this code uses the random function which takes a random number and makes it the number you have to guess. and the else at the bottom of the picture makes &#8230;<\/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\/b_orsini\/wp-json\/wp\/v2\/posts\/68","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/b_orsini\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/b_orsini\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/b_orsini\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/b_orsini\/wp-json\/wp\/v2\/comments?post=68"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/b_orsini\/wp-json\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":70,"href":"https:\/\/theroyalscode.com\/students\/b_orsini\/wp-json\/wp\/v2\/posts\/68\/revisions\/70"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/b_orsini\/wp-json\/wp\/v2\/media?parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/b_orsini\/wp-json\/wp\/v2\/categories?post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/b_orsini\/wp-json\/wp\/v2\/tags?post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}