{"id":4990,"date":"2021-09-02T22:30:49","date_gmt":"2021-09-02T21:30:49","guid":{"rendered":"http:\/\/dronesonen.usn.no\/?p=4990"},"modified":"2021-09-17T20:11:09","modified_gmt":"2021-09-17T19:11:09","slug":"pin-to-win-week-1","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=4990","title":{"rendered":"Pin To Win &#8211; Week 1"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Hardware<\/h2>\n\n\n\n<p>A Pinball table shall be created to resemble the retro-games. The functionality should be similar to the original tables with a angled surface. Besides playing the normal way as it is expected from such devices with buttons to activate the flippers, it should be able to &#8216;play itself&#8217;, using a detection system to locate the ball, electronic actors to actually play the ball as well as start the game with the starting mechanism. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.cheapism.com\/images\/Classic_Pinball_Games.2e16d0ba.fill-1440x605.jpg\" alt=\"\" width=\"556\" height=\"233\" \/><figcaption>Image Source: https:\/\/blog.cheapism.com\/best-pinball-machines\/#slide=3<\/figcaption><\/figure><\/div>\n\n\n\n<p><strong>Base Requirements<\/strong> for this were set as following<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>electromechanical controlled flippers<\/li><li>electromechanical controlled starting mechanism<\/li><li>detection system of the ball near to the flippers<\/li><li>play field that houses all components and features a play area as well as ball guidance to and from the starter mechanism<\/li><\/ul>\n\n\n\n<p><strong>Feature requirements<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>implementation of various objects within the play area, such as targets, bumpers, kickers, etc. to score points<\/li><li>playing the game itself based on the ball recognition in the area of the flippers<\/li><li>Interface with score, high score, etc.<\/li><li>look and feel of the game mechanics should be as close as possible to original<\/li><\/ul>\n\n\n\n<p><strong>Optional requirements<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>the machine plays itself and is able to predict the ball movement at all time<\/li><li>implementation a gambling system, where the &#8216;player&#8217; can predict how long the system will be able to play<\/li><li>nice look<\/li><li>fancy LEDs<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Marcus.<\/strong><\/p>\n\n\n\n<p>For this week I started making a simulation of the pinball machine, using the game engine Unity. I set up a basic modular board, that can be expanded in the future. I then wrote some code to control the flippers, and the ball itself. After week 1 the simulation is playable but lacks some important things. Like the pull spring, and a way to detect when the ball is out of bounds.<\/p>\n\n\n\n<p>For now, the board is blue, the flippers black, the edges white and the ball is silver. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"369\" height=\"560\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2021\/09\/Week-1.png\" alt=\"\" class=\"wp-image-5083\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2021\/09\/Week-1.png 369w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2021\/09\/Week-1-198x300.png 198w\" sizes=\"auto, (max-width: 369px) 100vw, 369px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Hardware A Pinball table shall be created to resemble the retro-games. The functionality should be similar to the original tables with a angled surface. Besides playing the normal way as it is expected from such devices with buttons to activate the flippers, it should be able to &#8216;play itself&#8217;, using a detection system to locate [&hellip;]<\/p>\n","protected":false},"author":84,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4990","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/4990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/users\/84"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4990"}],"version-history":[{"count":5,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/4990\/revisions"}],"predecessor-version":[{"id":5084,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/4990\/revisions\/5084"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}