TOP Contributors

  1. MIKROE (2642 codes)
  2. Alcides Ramos (347 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136222 times)
  2. FAT32 Library (69489 times)
  3. Network Ethernet Library (55708 times)
  4. USB Device Library (45992 times)
  5. Network WiFi Library (41639 times)
  6. FT800 Library (40790 times)
  7. GSM click (28789 times)
  8. PID Library (26332 times)
  9. mikroSDK (26056 times)
  10. microSD click (25141 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Breakout game - demo project

Rating:

0

Author: MIKROE

Last Updated: 2020-09-02

Package Version: 1.0.0.0

Category: Other Codes

Downloaded: 88 times

Not followed.

License: MIT license  

Game description: Breakout is an arcade game developed and published on May 13, 1976.

- In Breakout, a layer of bricks lines the top third of the screen and the goal is to destroy them all. A ball moves straight around the screen, bouncing off the top and two sides of the screen.
.......

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Breakout game - demo project" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Breakout game - demo project" changes.

Do you want to report abuse regarding "Breakout game - demo project".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

Project image

Project image

BREAKOUT GAME

View full image

Game description:

- Breakout is an arcade game developed and published on May 13, 1976.

- In Breakout, a layer of bricks lines the top third of the screen and the goal is to destroy them all. A ball moves straight around the screen, bouncing off the top and two sides of the screen. When a brick is hit, the ball bounces back and the brick is destroyed. The player loses a turn when the ball touches the bottom of the screen; to prevent this from happening, 
the player has a horizontally movable paddle to bounce the ball upward, keeping it in play.

- The breakout begins with six rows of bricks in a different color ( red, green, blue ). 
Using a single ball, the player must knock down as many bricks as possible by using the walls 
and/or the paddle below to ricochet the ball against the bricks and eliminate them. 
If the player's paddle misses the ball's rebound, they will lose a turn. The player has three 
turns to try to clear two screens of bricks. 

Hardware requirements:

- Fusion for ARM v8 development board
- MCU CARD for STM32 STM32F407ZG
- Switching power supply: 
        input:  100 - 240V AC (1.3A)
        output: +5V (10A) 
- 32x32 RGB LED Matrix Panel - 6mm pitch
- Matrix RGB click
- mikroBUS Shuttle
- Shuttle click
- Slider 2 click

Hardware settings:

- Plugin the switching power supply and connect it with the LED Matrix Panel, 
strictly observing the arrangement of the VCC and GND wires.
- Using IDC cable connect LED Matrix Panel with Matrix RGB Click,
then place Matrix RGB Click in the fifth slot on Fusion for ARM Board.
- Connect Slider 2 Click using Shuttle Click and mikroBUS Shuttle add-on, 
to the first slot on the board.

Software requirements:

- Mikro C PRO for ARM ( and CodeGrip Suite )

Software settings:

- Open MikroC PRO for ARM program, and first, it is necessary to install packages for Matrix RGB click and Slider 2 click from Libstock ( using Libstock manager ). When the searching the path for those packages are included, build, and program the code. 
- Instead of that, you can just write down the hex file using CodeGrip Suite.
- Enjoy the game :)

Project video

YouTube - BREAKOUT GAME by Mikroe

Watch on YouTube

ALSO FROM THIS AUTHOR

Magneto 2 click

0

Magneto 2 click is a mikroBUS add-on board with Melexis's MLX90316 monolithic rotary position sensor.

[Learn More]

Accel 12 click

5

Accel 12 click is an advanced 3-axis motion tracking Click board, which utilizes the MC3216, a low-noise, and low power 3-axis accelerometer.

[Learn More]

VREG 2 click

0

VREG 2 click is a voltage regulator click, with outstanding performances.

[Learn More]