If you like this project, please like the video and my channel and/or facebook page.

8×8 LED matrix – Atari Breakout inspired Arduino game

A lot of my latest Arduino projects has been mostly about electronics, and so I made this little fun game project as an excuse to do more coding for a change 😉

This is also the reason for using the led matrix with I^2C backpack from Adafruit, since this is really easy to get started with.

It is also possible to use a led matrix without a backpack, but this is a more advanced project and will require more code and connections to control the leds. I am going to make a blog post with inspiration on how to do this at a later time.

The game has different features such as increased speed after winning, blinking smileys when winning and loosing and three different ways the ball will bounce back depending on how it hits the paddle.

Source code:

Information incl. schematics, features, code comments etc.:

Like my facebook page for much more of the same in the future:

Blog:
Twitter:
Instagram:
Youtube channel:

8×8 LED matrix – Atari Breakout inspired Arduino game:

Video music (CC BY): 8-bit March by Twin Musicion (

Nguồn:https://madisonrep.org/

10 Comments

Diego Tarragona

March 24, 2020

I know it's a little old but quick question, it's possible to do it with an arduino pro micro?

Reply

Rasaraj Dey

March 24, 2020

Hi! Your project is amazing! I just started Arduino and have a question. I was trying to download the code and noticed that there were many different files. How would I put them together to make one big code? Is there a way to separately put all the code into Arduino?

Reply

Bryan Corrales

March 24, 2020

Amazing project

Reply

Kim Leyson

March 24, 2020

Hi, do you happen to have code for led matrix which is not i2c supported? I have one with max7219 and i wanted to try this.

Reply

علـي الـڪرار

March 24, 2020

#include ’Ball.h’

void Ball::move(){

// update y position
if(dirY > 0){
y++;
if(y > 7){
y = 6;
down();
}
}
else if(dirY < 0){
y–;
if(y < 0){
y = 1;
up();
}
}

// update x position
if(dirX > 0){
x++;
if(x > 7){
x = 6;
bounceLeft();
}
}
else if(dirX < 0){
x–;
if(x < 0){
x = 1;
bounceRight();
}
}
}

void Ball::bounceBackLeft(){
dirX = -1;
dirY = 1;
x++;
}

void Ball::bounceBackRight(){
dirX = 1;
dirY = 1;
x–;
}

void Ball::bounceUp(){
dirX = 0;
dirY = 1;
}

void Ball::bounceLeft(){
dirX = -1;
}
void Ball::bounceRight(){
dirX = 1;
}

void Ball::up(){
dirY = 1;
}

void Ball::down(){
dirY = -1;
}

Reply

TechnologyImpossible

March 24, 2020

That is really cool way to make breakout my channel is all about the amazing world of you can go check and go tell your friends about it and will feature channel that subscribe to me for right now because I don't have a lot of subscriber.I am not forcing you to
check it out and can just do it at any time.

Reply

Marco Domingo

March 24, 2020

Hi there, do you know if there's any way to run this on a simulation? Awesome project!

Reply

나형균

March 24, 2020

can you share code and circuit? thanks  [email protected]

Reply

innovation dad

March 24, 2020

thanks friend

Reply

Maker Tech

March 24, 2020

Information incl. schematics, features, code comments etc.: http://makertech.dk/8×8-led-matrix-breakout-arduino-game/

If you like this project, please like the video and my channel and/or facebook page.

Like my facebook page for much more of the same in the future: https://www.facebook.com/makertechdk/

Youtube channel: https://www.youtube.com/channel/UCZfXxUfpS7q-v1gsMY-hQtA

Reply

Leave a Reply