Posts | Comments

Planet Arduino

Archive for the ‘tetris’ Category

Mar
18

Handheld Tetris is Retro and We Love It

arduino hacks, handheld tetris, led hacks, neopixel, Neopixels, tetris Comments Off on Handheld Tetris is Retro and We Love It 

handheld tetris

[Eduardo Zola] has been playing around with Arduinos, and ever since he started, he wanted to try making a game. Having fond memories of playing Tetris back on Windows 3.1, he decided to try giving a handheld version of it a shot.

He started with two 8×8 Neopixel Matrices due to their simplicity — not to mention the massive library of code available! To make it truly portable, he’s also included a 3.7v 4400mAh lithium ion battery which will keep him gaming for hours. He found a 5-way navigation switch on eBay which makes up the joystick. A small LED bar display tells you what level you’re on, and he’s even included a smaller speaker for music, and a vibrating motor for successfully completed lines in the game!

He borrowed the Tetris algorithm (and added some improvements) from the source code by [Valentin Ivanov], who completed a similar project last fall. Stick around to see a demonstration video of it in action.

We’re still pretty fond of this Tetris playing LED necktie though…


Filed under: Arduino Hacks, led hacks
Feb
13

update-handheld-tetris

Check out this sweet-piece of homemade handheld gaming! [Jianan Li] has been hard at work on the project and published the updates in two parts, one that shows off the PCB he had fabbed for the project, and another which details the 3D printed case. This is, of course, is the culmination of the Tetris project we first saw as an incredbily packed, yet thouroughly tidy breadboarded circuit.

We really enjoy the 8-sided PCB design which hosts all the parts and gives you a place to hold and control the unit, all without seeming to waste much real estate. The case itself is quite impressive. The openings for the square-pixel LED matrices (the original design had round pixels) and the bar graphs all have nice bevel features around them. The control area has a pleasant swooping cutout, with blue buttons which stand out nicely against the red. Check out the slider switch by his left thumb. He printed matching covers for this slider, and the two that stick out the bottom. Also on the bottom are female pin headers so that you don’t need to disassemble the case to interface with the electronics.

All of this and more are shown off in the clip after the break.


Filed under: 3d Printer hacks, Arduino Hacks, handhelds hacks
Sep
28

Breadboard Tetris is Wire Artwork

arduino hacks, breadboard, led module, RGB, tetris Comments Off on Breadboard Tetris is Wire Artwork 

RGB-module-breadboard-tetris

Look closely at the colored pixels on this pair of 8×8 RGB LED modules and you’ll be able to pick out some of the familiar shapes of Tetris pieces. It’s impressive that [Jianan Li] built his own color Tetris including the theme music, but look at this breadboard! The layout of his circuit is as equally impressive as the code he wrote to get the game up and running. It takes a fair amount of planning to get a circuit of this complexity to fit in the space he used, right?

There are two microcontrollers at work, each running the Arduino bootloader. The main chip is an ATmega328 which is responsible for monitoring the buttons and controlling game play. The other is an ATmega85. The eight pin chip listens to it’s bigger brother, playing the theme song when the game starts, and pausing or resuming to match the user input So is the next stop for this project playing Tetris on the side of a building?

Don’t miss the demo video after the break. We’ve also rolled in a video of his Arduino-based piano. It’s built on a breadboard that’s nearly as impressive as this. But what delights us is his skill at playing Pokemon themes on the two-octave tactile switch keyboard. Obviously those piano lessons his parents shelled out for really paid off!


Filed under: Arduino Hacks


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook