{"id":26625,"date":"2024-04-26T11:07:49","date_gmt":"2024-04-26T03:07:49","guid":{"rendered":"http:\/\/hazlina-backup-26625"},"modified":"2024-04-26T11:07:49","modified_gmt":"2024-04-26T03:07:49","slug":"bte1522-innovation-python-week-8-assignment-1","status":"publish","type":"post","link":"\/hazlina-blog\/2024\/04\/26\/bte1522-innovation-python-week-8-assignment-1\/","title":{"rendered":"BTE1522 \u2013 Innovation (Python) \u2013 Week 8 \u2013 Assignment 1"},"content":{"rendered":"<p>Job well done everyone!<\/p>\n<p>In this assignment, students of BTE1522 are required to modify the Slider Game with the following requirements:-<\/p>\n<ol>\n<li style=\"font-weight: 400\"><b>Multi-Enemy Challenge<\/b><span style=\"font-weight: 400\">: Modify the code to introduce a second enemy with a different color and movement pattern. Students should ensure that collision detection works for both enemies and update the scoring accordingly. <\/span><b>Angelina &amp; Hui Zhi\u00a0 \u00a0 \u00a0 <\/b><iframe loading=\"lazy\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/qHz7cEPhl1I?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"BTE1522 INNOVATION LAB 2 | SLIDER GAME | MULTI-ENEMY CHALLENGE\"><\/iframe>\n<p><a href=\"https:\/\/x.com\/angelina_lina05\/status\/1780980368713355396?t=OiP41KEI_H3ZtgVfFKuzPQ&amp;s=08\">https:\/\/x.com\/angelina_lina05\/status\/1780980368713355396?t=OiP41KEI_H3ZtgVfFKuzPQ&amp;s=08<\/a><\/li>\n<li style=\"font-weight: 400\"><b>Power-ups Implementation<\/b><span style=\"font-weight: 400\">: Add power-ups that appear randomly on the screen. When the player collides with a power-up, provide a temporary advantage such as increased speed or invincibility. <\/span><b><b>Aerie &amp; Eason<\/b><\/b><iframe loading=\"lazy\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/JPN_60unXlg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"BTE1522 Assignment 1 Video\"><\/iframe>\n<p><b> \u00a0<\/b><\/li>\n<li style=\"font-weight: 400\"><b>Difficulty Levels<\/b><span style=\"font-weight: 400\">: Implement different difficulty levels (easy, medium, hard) that adjust parameters such as enemy speed, player speed, and the rate of appearance of enemies. <\/span><b><b>Salita &amp; Huda\u00a0<\/b><\/b><iframe loading=\"lazy\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/qHz7cEPhl1I?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"BTE1522 INNOVATION LAB 2 | SLIDER GAME | MULTI-ENEMY CHALLENGE\"><\/iframe><\/li>\n<li style=\"font-weight: 400\"><b>Obstacle Course<\/b><span style=\"font-weight: 400\">: Introduce obstacles on the screen that the player must avoid colliding with. These obstacles should be placed randomly and have collision detection similar to the enemies. <\/span><b><b>Syarah &amp; Jia Hui<\/b><\/b><iframe loading=\"lazy\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/8C1I41xZhbA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"Slider Game using Python #UMPSTEMLaB\"><\/iframe><\/li>\n<\/ol>\n<p><a href=\"https:\/\/x.com\/yIchiBaN1\/status\/1782343976680591540?t=QmEYhoxrJFqziV-SiZ5YsQ&amp;s=08\"><span style=\"font-weight: 400\">https:\/\/x.com\/yIchiBaN1\/status\/1782343976680591540?t=QmEYhoxrJFqziV-SiZ5YsQ&amp;s=08<\/span><\/a><\/p>\n<p><b>Customizable Player:<\/b> Allow the player to choose from different characters with varying sizes and colors. Ensure that collision detection and player movement are adjusted accordingly.\u00a0 <b>Farihin &amp;\u00a0<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400\"><b>Endless Runner Mode: <\/b><span style=\"font-weight: 400\">Modify the game to have an endless runner mode where the player continuously moves forward, and obstacles\/enemies appear at increasing speeds. Implement a scoring system based on the distance traveled. <\/span><b><b>Ashraf &amp; Azhad<\/b><\/b><iframe loading=\"lazy\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/HqEB2fpQw_c?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"ASSIGNMENT 1 (ENDLESS RUNNER MODE)\"><\/iframe><\/li>\n<li style=\"font-weight: 400\"><b>Boss Battle: <\/b><span style=\"font-weight: 400\"><span style=\"font-weight: 400\">Design a boss enemy with unique characteristics and a health bar. The boss should have different attack patterns, and the player must defeat it to win the game. Implement scoring based on boss defeat time and remaining health. <b>Aiman<\/b><\/span><\/span><iframe loading=\"lazy\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/wrSkr_nkKkU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"pygames slider games\"><\/iframe><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>&#8230;.. and they did well. Congratulations!<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-26638\" src=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p1-1-1024x579.png\" alt=\"\" width=\"840\" height=\"475\" srcset=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p1-1-1024x579.png 1024w, \/hazlina\/wp-content\/uploads\/2024\/04\/p1-1-300x170.png 300w, \/hazlina\/wp-content\/uploads\/2024\/04\/p1-1-768x434.png 768w, \/hazlina\/wp-content\/uploads\/2024\/04\/p1-1-1200x679.png 1200w, \/hazlina\/wp-content\/uploads\/2024\/04\/p1-1.png 1906w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-26639\" src=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p2-1-1024x576.png\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p2-1-1024x576.png 1024w, \/hazlina\/wp-content\/uploads\/2024\/04\/p2-1-300x169.png 300w, \/hazlina\/wp-content\/uploads\/2024\/04\/p2-1-768x432.png 768w, \/hazlina\/wp-content\/uploads\/2024\/04\/p2-1-1200x674.png 1200w, \/hazlina\/wp-content\/uploads\/2024\/04\/p2-1.png 1918w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-26640\" src=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p3-1024x580.png\" alt=\"\" width=\"840\" height=\"476\" srcset=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p3-1024x580.png 1024w, \/hazlina\/wp-content\/uploads\/2024\/04\/p3-300x170.png 300w, \/hazlina\/wp-content\/uploads\/2024\/04\/p3-768x435.png 768w, \/hazlina\/wp-content\/uploads\/2024\/04\/p3-1200x679.png 1200w, \/hazlina\/wp-content\/uploads\/2024\/04\/p3.png 1902w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-26641\" src=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p4-1024x576.png\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p4-1024x576.png 1024w, \/hazlina\/wp-content\/uploads\/2024\/04\/p4-300x169.png 300w, \/hazlina\/wp-content\/uploads\/2024\/04\/p4-768x432.png 768w, \/hazlina\/wp-content\/uploads\/2024\/04\/p4-1200x674.png 1200w, \/hazlina\/wp-content\/uploads\/2024\/04\/p4.png 1918w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-26642\" src=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p5-1024x576.png\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p5-1024x576.png 1024w, \/hazlina\/wp-content\/uploads\/2024\/04\/p5-300x169.png 300w, \/hazlina\/wp-content\/uploads\/2024\/04\/p5-768x432.png 768w, \/hazlina\/wp-content\/uploads\/2024\/04\/p5-1200x674.png 1200w, \/hazlina\/wp-content\/uploads\/2024\/04\/p5.png 1918w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-26643\" src=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p6-1024x576.png\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p6-1024x576.png 1024w, \/hazlina\/wp-content\/uploads\/2024\/04\/p6-300x169.png 300w, \/hazlina\/wp-content\/uploads\/2024\/04\/p6-768x432.png 768w, \/hazlina\/wp-content\/uploads\/2024\/04\/p6-1200x674.png 1200w, \/hazlina\/wp-content\/uploads\/2024\/04\/p6.png 1918w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-26644\" src=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p7-1024x577.png\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p7-1024x577.png 1024w, \/hazlina\/wp-content\/uploads\/2024\/04\/p7-300x169.png 300w, \/hazlina\/wp-content\/uploads\/2024\/04\/p7-768x433.png 768w, \/hazlina\/wp-content\/uploads\/2024\/04\/p7-1200x677.png 1200w, \/hazlina\/wp-content\/uploads\/2024\/04\/p7.png 1912w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-26645\" src=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p8-1024x576.png\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2024\/04\/p8-1024x576.png 1024w, \/hazlina\/wp-content\/uploads\/2024\/04\/p8-300x169.png 300w, \/hazlina\/wp-content\/uploads\/2024\/04\/p8-768x432.png 768w, \/hazlina\/wp-content\/uploads\/2024\/04\/p8-1200x674.png 1200w, \/hazlina\/wp-content\/uploads\/2024\/04\/p8.png 1918w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Job well done everyone! In this assignment, students of BTE1522 are required to modify the Slider Game with the following requirements:- Multi-Enemy Challenge: Modify the code to introduce a second enemy with a different color and movement pattern. Students should ensure that collision detection works for both enemies and update the scoring accordingly. Angelina &amp; &hellip; <a href=\"\/hazlina\/2024\/04\/26\/bte1522-innovation-python-week-8-assignment-1\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;BTE1522 &#8211; Innovation (Python) &#8211; Week 8 &#8211; Assignment 1&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[13],"class_list":["post-26625","post","type-post","status-publish","format-standard","hentry","category-information","tag-academia-python-prog"],"_links":{"self":[{"href":"\/hazlina-blog\/wp-json\/wp\/v2\/posts\/26625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/hazlina-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/hazlina-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/hazlina-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"\/hazlina-blog\/wp-json\/wp\/v2\/comments?post=26625"}],"version-history":[{"count":0,"href":"\/hazlina-blog\/wp-json\/wp\/v2\/posts\/26625\/revisions"}],"wp:attachment":[{"href":"\/hazlina-blog\/wp-json\/wp\/v2\/media?parent=26625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/hazlina-blog\/wp-json\/wp\/v2\/categories?post=26625"},{"taxonomy":"post_tag","embeddable":true,"href":"\/hazlina-blog\/wp-json\/wp\/v2\/tags?post=26625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}