circuit_projects

Circuit Projects

Blogger

EEWeb Stats

Circuit's Blog :

Return to Blog

Tetris Game from AVR Known as Tetrapuzz

Figure:1

Figure 1 

A standard KS0108 128×64 graphical LCD along with a Nokia 3595 screen are used in this AVR ATmega168 based Tetris game.

The hardware design of the game is easy to build and simple since any development board can be used and just by making sure that all necessary pins are available to run GLCD and 5 buttons. The trunk build of the SVN is the Nokia 3595 and that branch of SVN was loaded with KS0108 hardware onto the ATmega168.

During the game play, a message is displayed by the screen at power up and the game will begin after prompting for a button click. The order of pieces is generated using the random seed. This is gathered from the system clock when registering the first button press. For every game, this makes the pices not to appear in the exact same order. A code can be written to get the pieces to fit but not overlap each other or leave the game board.

An AVR Dragon programmer and the Dragon 500 board were used to prototype the AVR ATmega168 microprocessor. The software development uses the Eclipse IDE and local repository.

Rest of the project

Tags: Tetris, AVR,

Comments on this post:

There are currently no comments.

Login or Register to post comments.
 
Click Here