{"id":199,"date":"2026-05-01T14:07:50","date_gmt":"2026-05-01T14:07:50","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/d_bhujel\/?p=199"},"modified":"2026-05-01T14:07:50","modified_gmt":"2026-05-01T14:07:50","slug":"today-i-worked-on-making-cookies-for-my-game","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/d_bhujel\/2026\/05\/01\/today-i-worked-on-making-cookies-for-my-game\/","title":{"rendered":"Today I worked on making cookies for my game"},"content":{"rendered":"\n<p>after Mr wilmoth hacked my game and made the game a lesson to teach people how to hack<\/p>\n\n\n\n<p>I&#8217;ve been working on a backend server so the game can&#8217;t get hacked again<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"646\" src=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-1024x646.png\" alt=\"\" class=\"wp-image-200\" srcset=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-1024x646.png 1024w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-300x189.png 300w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-768x484.png 768w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image.png 1254w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>instead of people getting tokens each time they log in the session will remember the person and the database will transfer back.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"542\" src=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-1-1024x542.png\" alt=\"\" class=\"wp-image-201\" srcset=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-1-1024x542.png 1024w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-1-300x159.png 300w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-1-768x406.png 768w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-1-720x380.png 720w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-1.png 1365w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"885\" height=\"752\" src=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-2.png\" alt=\"\" class=\"wp-image-202\" srcset=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-2.png 885w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-2-300x255.png 300w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-2-768x653.png 768w\" sizes=\"auto, (max-width: 885px) 100vw, 885px\" \/><\/figure>\n\n\n\n<p>on game.py I added where the leaderboard and get score\/ new score shows next to ur user<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"556\" height=\"273\" src=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-3.png\" alt=\"\" class=\"wp-image-203\" srcset=\"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-3.png 556w, https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-content\/uploads\/2026\/05\/image-3-300x147.png 300w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/figure>\n\n\n\n<p>also it has a cookie<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>I made where the register and the login work, it says and saves as a string on a different tab<\/p>\n\n\n\n<p>on Monday Im going to work on making the database where the miners and everything saves instead of just the username so if you go to a different computer and log in all your items will save<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>after Mr wilmoth hacked my game and made the game a lesson to teach people how to hack I&#8217;ve been working on a backend server so the game can&#8217;t get hacked again instead of people getting tokens each time they log in the session will remember the person and the database will transfer back. on [&hellip;]<\/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-199","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/posts\/199","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=199"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/posts\/199\/revisions"}],"predecessor-version":[{"id":204,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/posts\/199\/revisions\/204"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/media?parent=199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/categories?post=199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_bhujel\/wp-json\/wp\/v2\/tags?post=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}