{"id":679,"date":"2024-09-20T13:34:00","date_gmt":"2024-09-20T13:34:00","guid":{"rendered":"http:\/\/127.0.0.1\/nnmakicom2026\/?p=679"},"modified":"2026-07-01T13:35:51","modified_gmt":"2026-07-01T13:35:51","slug":"bablos-biscuit-hunt-the-game","status":"publish","type":"post","link":"https:\/\/nnmaki.com\/index.php\/2024\/09\/20\/bablos-biscuit-hunt-the-game\/","title":{"rendered":"Bablos Biscuit Hunt! -The game"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Story in the back<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">We have a beloved dog named Bablo. Bablo is a Labrador Retriever, and he loves biscuits like other labs do. That inspired me to create a simple game in Python, which was an ideal project for learnin Python. The idea is simple: just guide Bablo to collect as many biscuits as you can. If you catch a biscuit, you get one point, and if you miss one, you lose one life. Note that enen though Bablo loves delicacies, he wont eat just anything. You lose points if you collect something that Bablo doesn&#8217;n like. If you collect a carrot, you lose 1 point, and if you collect an olive, you lose 2 points because he hates olives. And it&#8217;s been said that there are also some poisoned sausages aroung. If you accidentally collect a poisoned sausage, the game will end immediately.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Game Deloping<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The game was initially developed using the PyGame Zero -library, which is a beginner-friendly way to get into game development with Python. This was made possible by some easy-to-use features and by running the program without a traditional game loop. However, at some point, the limitations of PyGame Zero became apparent, so the game switched to using the actual PyGame library, which is a very popular game development module.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I originally published the game made with Python. To gain experience in web development and JavaScript programming, I have now also made the game in JavaScript so it can be run in a web browser. I&#8217;ve also implement the .exe files compiled with the PyInstaller module so the game will also work in standalone version.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_1_1200x675.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" data-id=\"686\" src=\"https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_1_1200x675-1024x576.png\" alt=\"Picture of Bablo's Biscuit Hunt Game\" class=\"wp-image-686\" srcset=\"https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_1_1200x675-1024x576.png 1024w, https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_1_1200x675-300x169.png 300w, https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_1_1200x675-768x432.png 768w, https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_1_1200x675.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_2_1200x675.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" data-id=\"685\" src=\"https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_2_1200x675-1024x576.png\" alt=\"Picture of Bablo's Biscuit Hunt Game\" class=\"wp-image-685\" srcset=\"https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_2_1200x675-1024x576.png 1024w, https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_2_1200x675-300x169.png 300w, https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_2_1200x675-768x432.png 768w, https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_2_1200x675.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_3_1200x675.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" data-id=\"684\" src=\"https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_3_1200x675-1024x576.png\" alt=\"Picture of Bablo's Biscuit Hunt Game\" class=\"wp-image-684\" srcset=\"https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_3_1200x675-1024x576.png 1024w, https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_3_1200x675-300x169.png 300w, https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_3_1200x675-768x432.png 768w, https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_3_1200x675.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Conclusion<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Developing the game was fun, and it provided additional practical experience in programming. One challenge was ensuring the game ran at the same speed on all devices. Even though I locked the screen refresh rate to use the same FPS value every time the code is executed, the speed can still vary slightly, especially in virtual environments.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the future, the plan is to develop the game further by adding different difficulty levels, which will affect the falling speed of objects and objects spawning interval. Additionally, I will explore the possibility of saving high scores to an SQLite database.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Story in the back We have a beloved dog named Bablo. Bablo is a Labrador Retriever, and he loves biscuits [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":687,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-679","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"mb":[],"uagb_featured_image_src":{"full":["https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_fi_1200x675.png",1351,760,false],"thumbnail":["https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_fi_1200x675-150x150.png",150,150,true],"medium":["https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_fi_1200x675-300x169.png",300,169,true],"medium_large":["https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_fi_1200x675-768x432.png",768,432,true],"large":["https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_fi_1200x675-1024x576.png",1024,576,true],"1536x1536":["https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_fi_1200x675.png",1351,760,false],"2048x2048":["https:\/\/nnmaki.com\/wp-content\/uploads\/2026\/07\/biscuithunt_fi_1200x675.png",1351,760,false]},"uagb_author_info":{"display_name":"NikoNmaki","author_link":"https:\/\/nnmaki.com\/index.php\/author\/nnmakicom2026\/"},"uagb_comment_info":0,"uagb_excerpt":"Story in the back We have a beloved dog named Bablo. Bablo is a Labrador Retriever, and he loves biscuits [&hellip;]","mfb_rest_fields":["title","uagb_featured_image_src","uagb_author_info","uagb_comment_info","uagb_excerpt"],"_links":{"self":[{"href":"https:\/\/nnmaki.com\/index.php\/wp-json\/wp\/v2\/posts\/679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nnmaki.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nnmaki.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nnmaki.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nnmaki.com\/index.php\/wp-json\/wp\/v2\/comments?post=679"}],"version-history":[{"count":2,"href":"https:\/\/nnmaki.com\/index.php\/wp-json\/wp\/v2\/posts\/679\/revisions"}],"predecessor-version":[{"id":689,"href":"https:\/\/nnmaki.com\/index.php\/wp-json\/wp\/v2\/posts\/679\/revisions\/689"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nnmaki.com\/index.php\/wp-json\/wp\/v2\/media\/687"}],"wp:attachment":[{"href":"https:\/\/nnmaki.com\/index.php\/wp-json\/wp\/v2\/media?parent=679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nnmaki.com\/index.php\/wp-json\/wp\/v2\/categories?post=679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nnmaki.com\/index.php\/wp-json\/wp\/v2\/tags?post=679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}