TOP Contributors

  1. MIKROE (2659 codes)
  2. Alcides Ramos (356 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 (136973 times)
  2. FAT32 Library (70088 times)
  3. Network Ethernet Library (56022 times)
  4. USB Device Library (46343 times)
  5. Network WiFi Library (41959 times)
  6. FT800 Library (41272 times)
  7. GSM click (29051 times)
  8. mikroSDK (26488 times)
  9. PID Library (26447 times)
  10. microSD click (25411 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: 93 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

6DOF IMU 13 Click

5

6DOF IMU 13 Click is a compact add-on board that contains an eCompass that consists of a 3-axis linear accelerometer and a 3-axis magnetic field sensor. This board features the MC6470, a 6 DoF accelerometer, and a magnetometer sensor solution, from mCube Inc.

[Learn More]

DC Motor 12 click

0

DC Motor 12 Click is a compact add-on board with a brushed DC motor driver. This board features the TB9054FTG, a PWM-type, dual-channel, H-bridge, brushed DC motor driver from Toshiba Semiconductor. The TB9054FTG is rated for an operating voltage range from 4.5V to 28V, with the motor controlled directly through a PWM signal or SPI serial interface. In addition, this driver allows a dual configuration with two motors with 5A current ratings per channel or one 10A channel drive in a Parallel mode of operation. It also has complete diagnostic and protection capabilities supporting robust and reliable operation.

[Learn More]

Spectrometer click

0

Spectrometer Click features an 11-channel spectrometer for spectral identification and color matching applications. This Click board™ features the AS7341 from AMS-AG, whose spectral response is defined in the wavelengths from approximately 350nm to 1000nm.

[Learn More]