{"id":3172,"date":"2013-06-09T13:01:30","date_gmt":"2013-06-09T13:01:30","guid":{"rendered":"http:\/\/www.parnes.com\/wordpress\/index.php\/2013\/06\/09\/mask_on_the_arduino_esplora_wi\/"},"modified":"2013-06-09T13:01:30","modified_gmt":"2013-06-09T13:01:30","slug":"mask_on_the_arduino_esplora_wi","status":"publish","type":"post","link":"https:\/\/www.parnes.com\/blog\/index.php\/2013\/06\/09\/mask_on_the_arduino_esplora_wi\/","title":{"rendered":"Mask on the Arduino Esplora with TFT-screen"},"content":{"rendered":"<p>I realized that I have never created the classical game Snake, &#8220;Mask&#8221; in Swedish so two days ago I set out and created on with my girlfriend on the Arduino Esplora with a 1.8 TFT screen from Adafruit on it.&nbsp;<\/p>\n<div><\/div>\n<div>Over the weekend, the game has grown into having some audio, an autoplay mode, cheat mode, selecting joystick or keys to play with etc.&nbsp;<\/div>\n<div><\/div>\n<div>Unfortunately, we are running out of memory when the &#8220;Mask&#8221; reaches a length of 900 \ud83d\ude41 We can out course optimize it a bit more but it would be nice to be able to play &#8220;for ever&#8221;.&nbsp;<\/div>\n<div><\/div>\n<div>The code is available at <a href=\"https:\/\/github.com\/peterparnes\/EsploraMask\">GitHub<\/a>.&nbsp;<\/div>\n<div><\/div>\n<div><a href=\"https:\/\/www.parnes.com\/blog\/assets_c\/2013\/06\/IMG_20130609_131014-2518.html\" onclick=\"window.open('https:\/\/www.parnes.com\/blog\/assets_c\/2013\/06\/IMG_20130609_131014-2518.html','popup','width=2592,height=1944,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.parnes.com\/blog\/assets_c\/2013\/06\/IMG_20130609_131014-thumb-450x337-2518.jpg\" width=\"450\" height=\"337\" alt=\"EsploraMask2\" class=\"mt-image-center\" style=\"text-align: center; display: block; margin: 0 auto 20px;\" \/><\/a><\/div>\n<div><a href=\"https:\/\/www.parnes.com\/blog\/assets_c\/2013\/06\/IMG_20130609_131318-2521.html\" onclick=\"window.open('https:\/\/www.parnes.com\/blog\/assets_c\/2013\/06\/IMG_20130609_131318-2521.html','popup','width=2592,height=1944,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.parnes.com\/blog\/assets_c\/2013\/06\/IMG_20130609_131318-thumb-450x337-2521.jpg\" width=\"450\" height=\"337\" alt=\"EsploraMask3\" class=\"mt-image-center\" style=\"text-align: center; display: block; margin: 0 auto 20px;\" \/><\/a><span style=\"font-size: 13px;\"><\/p>\n<div style=\"text-align: center;\"><span style=\"font-size: 13px;\">In autoplay and cheat mode you can cross yourself.&nbsp;<\/span><\/div>\n<p><\/span><\/div>\n<div style=\"text-align: center;\"><\/div>\n<div><a href=\"https:\/\/www.parnes.com\/blog\/assets_c\/2013\/06\/IMG_20130609_131006-2515.html\" onclick=\"window.open('https:\/\/www.parnes.com\/blog\/assets_c\/2013\/06\/IMG_20130609_131006-2515.html','popup','width=2592,height=1944,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.parnes.com\/blog\/assets_c\/2013\/06\/IMG_20130609_131006-thumb-450x337-2515.jpg\" width=\"450\" height=\"337\" alt=\"EsploraMask1\" class=\"mt-image-center\" style=\"text-align: center; display: block; margin: 0 auto 20px;\" \/><\/a><\/div>\n<div><\/div>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I realized that I have never created the classical game Snake, &#8220;Mask&#8221; in Swedish so two days ago I set out and created on with my girlfriend on the Arduino Esplora with a 1.8 TFT screen from Adafruit on it.&nbsp; Over the weekend, the game has grown into having some audio, an autoplay mode, cheat &hellip; <a href=\"https:\/\/www.parnes.com\/blog\/index.php\/2013\/06\/09\/mask_on_the_arduino_esplora_wi\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Mask on the Arduino Esplora with TFT-screen<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-3172","post","type-post","status-publish","format-standard","hentry","category-techstuff"],"_links":{"self":[{"href":"https:\/\/www.parnes.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/3172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.parnes.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.parnes.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.parnes.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.parnes.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=3172"}],"version-history":[{"count":0,"href":"https:\/\/www.parnes.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/3172\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.parnes.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=3172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.parnes.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=3172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.parnes.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=3172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}