PIC Micro Tetris Game

Discuss PIC and electronic related things

Moderators: David Barker, Jerry Messina

Post Reply
gramo
Registered User
Registered User
Posts: 200
Joined: Tue Mar 20, 2007 6:55 am
Location: Australia
Contact:

PIC Micro Tetris Game

Post by gramo » Sat Jun 19, 2010 3:43 pm

Image

I recently ventured into some simple 2D graphics, and what better way to get started than a game!

Tetris on the PIC Microcontroller seemed simple enough to begin with, though there were some hurdles such as rotating 2D graphics and collision detection. I managed to refine the program and have a working solution in a couple of days.

Here's a video of the completed project: http://www.youtube.com/watch?v=WKE26TWLdaI

And the project page itself (source code/schematic etc): http://digital-diy.com/home/swordfish/p ... a-pic.html
digital-diy.com - Hobby microcontroller projects and tutorials. Assembly, PICBasic and C examples.

Australian distributor for the Swordfish Compiler

CocaCola
Posts: 18
Joined: Sun May 02, 2010 6:02 pm

Post by CocaCola » Sun Jun 20, 2010 3:36 am

I just want to say how cool the mini arcades like this are, if I wasn't such a lazy coder I would actually attempt to finish one. But instead I always work out all the basic routines like collision, movement and boarders sensing then lose interest in actually finishing the project.

gramo
Registered User
Registered User
Posts: 200
Joined: Tue Mar 20, 2007 6:55 am
Location: Australia
Contact:

Post by gramo » Sun Jun 20, 2010 4:33 am

It was a fun venture, and I've already got some time up playing Tetris!

As simple as the project was on a scale of things, it enables me to create any number of interactive 2D games. I have some RGB 8x8 displays coming on order which should spice things up.
digital-diy.com - Hobby microcontroller projects and tutorials. Assembly, PICBasic and C examples.

Australian distributor for the Swordfish Compiler

Post Reply