{"id":5302,"date":"2013-11-22T20:47:08","date_gmt":"2013-11-22T19:47:08","guid":{"rendered":"http:\/\/daniel.haxx.se\/blog\/?p=5302"},"modified":"2013-11-28T00:28:56","modified_gmt":"2013-11-27T23:28:56","slug":"parallel-spaghetti-decode-challenge","status":"publish","type":"post","link":"https:\/\/daniel.haxx.se\/blog\/2013\/11\/22\/parallel-spaghetti-decode-challenge\/","title":{"rendered":"Parallel Spaghetti Decode Challenge"},"content":{"rendered":"<p>At the <a href=\"http:\/\/daniel.haxx.se\/blog\/2013\/11\/21\/rpi-night-in-gbg\/\">embedded hacking event in GBG<\/a> yesterday I organized a small contest for the attendees. I&#8217;ve done something similar several times before, so I wanted to make it a bit different this time to spice things up a bit. A straight-forward N questions in a row and then a puzzle to get the final question was too easy.  I wanted to create a maze or a play-field that you would need to traverse somehow in order to reach the final goal. But it is hard to create a maze that you don&#8217;t immediately spot the way through or that you can somehow &#8220;cheat&#8221; and find the way in other means rather than to actually answer the questions and do right by using your skills&#8230;  Then I realized that with just a couple of things added, I could fulfill my goals and still get a fun contest. So, let me start by taking you through the first slide that details the rules:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5309\" title=\"The contest rules\" src=\"http:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze.png\" alt=\"The contest rules\" width=\"480\" height=\"360\" srcset=\"https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze.png 600w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze-150x112.png 150w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze-300x225.png 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p style=\"text-align: center;\">\n<p>Ok, so to make the rules be a bit clearer we take a look at a simplified example play field so that we understand what we&#8217;re about to play on:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5312\" title=\"A small example play-field\" src=\"http:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze.jpg\" alt=\"A small example play-field\" width=\"480\" height=\"360\" srcset=\"https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze.jpg 600w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze-150x112.jpg 150w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze-300x225.jpg 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p style=\"text-align: center;\">\n<p>A short summary:<\/p>\n<ol>\n<li>start on a green box<\/li>\n<li>follow the arrow in the direction that your answer to the question of the box leads you. There&#8217;s a compass rose there to help you remember the directions! \ud83d\ude42<\/li>\n<li>each box you visit has a word associated with it, collect the words along the path<\/li>\n<li>when you reach the red box you&#8217;ve read the goal and you&#8217;re done<\/li>\n<li>then you re-arrange all the box words you&#8217;ve collected and create a final question<\/li>\n<li>answer that questions, the fastest to answer wins!<\/li>\n<\/ol>\n<p>Everything clear?  To help the participants, we had both the playfield and the associated questions printed out on two sheets of paper that we handed out together with a pen. The amount of data is just a bit too much to be able to show on a single screen and it may help to use a pen etc to remember the track you take and which words to remember etc. If you want to repeat the exact same situation, you do the same! I did a special <a href=\"http:\/\/daniel.haxx.se\/media\/maze-bw.pdf\">black-and-white version<\/a> of the playfield to make it more printer-friendly.  You may want to fire this up in full resolution to get the best experience:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/full-spaghetti-playfield-maze.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5316  aligncenter\" title=\"full-spaghetti-playfield-maze\" src=\"http:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/full-spaghetti-playfield-maze-300x225.jpg\" alt=\"full-spaghetti-playfield-maze\" width=\"300\" height=\"225\" srcset=\"https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/full-spaghetti-playfield-maze-300x225.jpg 300w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/full-spaghetti-playfield-maze-150x112.jpg 150w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/full-spaghetti-playfield-maze-1024x768.jpg 1024w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/full-spaghetti-playfield-maze.jpg 1058w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The question sheet looks like this, but click it for the full PDF:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/daniel.haxx.se\/media\/maze-text.pdf\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5318  aligncenter\" title=\"All questions for the challenge\" src=\"http:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze-text.png\" alt=\"All questions for the challenge\" width=\"400\" height=\"265\" srcset=\"https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze-text.png 400w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze-text-150x99.png 150w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2013\/11\/maze-text-300x198.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>I posted\u00c2\u00a0<a href=\"http:\/\/daniel.haxx.se\/blog\/2013\/11\/28\/parallel-spaghetti-decoded\/\">the answers <\/a>and everything in a separate post!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At the embedded hacking event in GBG yesterday I organized a small contest for the attendees. I&#8217;ve done something similar several times before, so I wanted to make it a bit different this time to spice things up a bit. A straight-forward N questions in a row and then a puzzle to get the final &hellip; <a href=\"https:\/\/daniel.haxx.se\/blog\/2013\/11\/22\/parallel-spaghetti-decode-challenge\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Parallel Spaghetti Decode Challenge<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[251,6],"tags":[361,29,130],"class_list":["post-5302","post","type-post","status-publish","format-standard","hentry","category-haxx","category-floss","tag-contest","tag-embedded-linux","tag-hacking"],"_links":{"self":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/5302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/comments?post=5302"}],"version-history":[{"count":15,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/5302\/revisions"}],"predecessor-version":[{"id":5340,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/5302\/revisions\/5340"}],"wp:attachment":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/media?parent=5302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/categories?post=5302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/tags?post=5302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}