PDA

View Full Version : 8-pin micro plays Pong on you widescreen



wraggster
October 7th, 2011, 23:53
http://hackadaycom.files.wordpress.com/2011/10/attiny-pong-on-bigscreen-e1318000823672.jpg?w=470&h=313
[Fernando] sent in a tangential project update that uses an ATtiny45 to play Pong on his television (http://www.alfersoft.com.ar/blog/2011/09/19/tiny-pong-more-fun-with-attiny45-and-vga/). Last time we looked in on his work he had just finished getting the eight-pin chip to display a big number on the TV (http://hackaday.com/2011/08/31/vga-video-output-with-an-attiny/) via the VGA port. This expands on the idea while he continues to wait for parts.
Right now the chip plays against itself, but he’s got one input pin left and we’d love to see a button added for a simple one-player game. We’re thinking the paddle would always be moving in one direction or the other, with a click of the button to reverse that direction. The part that he’s waiting for is a Bluetooth module, which we’d love to see used for 2-player games via a pair of Wiimotes (we’re just wishing at this point and don’t know if that would even be possible). The end goal for the hardware is a Bluetooth connected scoreboard for Android devices.
The code is written in Assembly, and we found it relatively easy to follow what [Fernando] is doing with the game logic. On the graphics side of things he gets away with a 120×96 resolution because Pong is supposed to look pixelated. We love the result, which you can see for yourself after the break.

http://hackaday.com/2011/10/07/8-pin-micro-plays-pong-on-you-widescreen/