{"id":11300,"date":"2016-04-10T22:45:10","date_gmt":"2016-04-11T02:45:10","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=11300"},"modified":"2016-04-10T22:45:10","modified_gmt":"2016-04-11T02:45:10","slug":"attiny-game-console","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/attiny-game-console\/","title":{"rendered":"ATtiny keychain game console"},"content":{"rendered":"<p>This <strong><a href=\"http:\/\/webboggles.com\/attiny85-breakout-keychain-game\/\" target=\"_blank\">tiny keychain game console<\/a><\/strong> is pretty neat and is based on ATtiny85 and and a SSD1306-driven OLED screen. The author has also shared the code for\u00a0the <strong><a href=\"http:\/\/webboggles.com\/attiny85-ufo-escape-keychain-game\/\" target=\"_blank\">UFO Escape game<\/a><\/strong> for this console.<\/p>\n<div id=\"attachment_11301\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/attinyconsole.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11301\" class=\"size-medium wp-image-11301\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/04\/attinyconsole-580x271.png\" alt=\"ATTiny85 game console\" width=\"580\" height=\"271\" \/><\/a><p id=\"caption-attachment-11301\" class=\"wp-caption-text\">ATTiny85 game console<\/p><\/div>\n<blockquote><p>I finally had some free time to make something fun and decided to write a new game for the Attiny85 ssd1306 keychain.\u00a0 I reused the sleep, display and interrupts code from the <a href=\"http:\/\/webboggles.com\/attiny85-breakout-keychain-game\/\">\u201cBreakout\u201d game I created a while ago<\/a>.<\/p>\n<p>This time I wanted a more addictive game. The game had to be playable using just the two buttons. I thought a racing game might be a good choice but the landscape screen is more suitable for a side-scroller. So I settled for an obstacle avoiding side scroller. Similar games include the recent <a href=\"https:\/\/en.wikipedia.org\/wiki\/Flappy_Bird\">Flappy Bird<\/a>, Nyan Cat and many variations of the Helicopter game.<\/p>\n<p>&nbsp;<\/p><\/blockquote>\n<p>Demo video.<br \/>\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/NthezOoIu9U\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tiny keychain game console is pretty neat and is based on ATtiny85 and and a SSD1306-driven OLED screen. The author has also shared the code for\u00a0the UFO Escape game for this console. I finally had some free time to make something fun and decided to write a new game for the Attiny85 ssd1306 keychain.\u00a0 I reused the sleep, display and interrupts code from the \u201cBreakout\u201d game I created a while ago. This time I wanted a more addictive game. The game had to be playable using just the two buttons. I thought a racing game might be a good<\/p>\n","protected":false},"author":1,"featured_media":11301,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[71,1300],"class_list":["post-11300","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-avr-projects","tag-attiny85","tag-game-console"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=11300"}],"version-history":[{"count":1,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11300\/revisions"}],"predecessor-version":[{"id":11302,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11300\/revisions\/11302"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/11301"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=11300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=11300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=11300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}