Articles tagged “AVR TV game”
ATmega168 Snake
In addition to the Tetris game from the previous post, I've added an implementation of snake to the ATmega168 project. Click to watch a gameplay video on YouTube. Either game can be selected from a menu that appears when the circuit is powered on. To exit menus I've added a second fire button; this allows you to step back to the main menu to pick a different game if need be. The source code and binary can be downloaded as before. I've written a number of different Snake implementations in the past.
Comments ATmega168 AVR AVR TV game Electronics PAL TV tvText
ATmega168 Tetris
The tvText library I discussed last entry allows you to display text on a PAL TV in black and white using a 20MHz ATmega168 and a pair of resistors. If this doesn't sound terribly exciting, it's probably because it isn't. However, if you bear some limitations in mind and change the font, you can use this text output as a more general tile-mapping system and use it for games that employ simple graphics. The new circuit, featuring five sloppily-wired input buttons. I added five buttons to the test circuit — up, down, left, right and fire — to act as game input.
Comments ATmega168 AVR AVR TV game Electronics PAL TV tvText

