{"id":54,"date":"2025-01-10T16:28:31","date_gmt":"2025-01-10T16:28:31","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/d_eanes\/?p=54"},"modified":"2025-01-10T16:28:31","modified_gmt":"2025-01-10T16:28:31","slug":"free-friday-pig","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/d_eanes\/2025\/01\/10\/free-friday-pig\/","title":{"rendered":"Free Friday: Pig"},"content":{"rendered":"\n<p>This Friday I worked on a game called Pig. When you roll a dice, you get a number from one to six. If you get anything other than one, you take that and you add that to the score of your turn. You can roll the dice as many times as you want, but if you roll a one, your score resets to zero and your turn is over.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"228\" height=\"60\" src=\"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-10-112150.png\" alt=\"\" class=\"wp-image-55\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"288\" height=\"93\" src=\"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-10-112238.png\" alt=\"\" class=\"wp-image-56\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"638\" height=\"623\" src=\"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-10-112409.png\" alt=\"\" class=\"wp-image-57\" srcset=\"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-10-112409.png 638w, https:\/\/theroyalscode.com\/students\/d_eanes\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-10-112409-300x293.png 300w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/figure>\n\n\n\n<p>This program helped me learn to return values.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This Friday I worked on a game called Pig. When you roll a dice, you get a number from one to six. If you get anything other than one, you take that and you add that to the score of your turn. You can roll the dice as many times as you want, but if&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-free-friday"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":2,"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":59,"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/posts\/54\/revisions\/59"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}