TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139253 times)
  2. FAT32 Library (71751 times)
  3. Network Ethernet Library (57122 times)
  4. USB Device Library (47430 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28078 times)
  9. PID Library (26885 times)
  10. microSD click (26198 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: 122 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

Temp-Log 5 click

5

Temp-Log 5 click is a temperature measuring Click board featuring the CAT34TS02, an accurate temperature sensor IC with integrated Serial Presence Detect EEPROM.

[Learn More]

Analog Mux click

5

Analog MUX click is a Click board that switches one of the sixteen inputs to one output. It employs the CD74HC4067, a High-Speed CMOS Logic 16-Channel Analog Multiplexer/Demultiplexer, produced by Texas Instruments.

[Learn More]

WiFi NORA Click

0

WiFi NORA Click is a compact add-on board that provides WiFi and BLE connectivity for professional-grade applications. This board features the NORA-W366-00B6-00B, a dual-band WiFi module with Bluetooth Low Energy (BLE) from u-blox, offering support for WiFi 4 (802.11a/b/g/n) in both 2.4 and 5GHz bands and Bluetooth v5.3 with peripheral and central roles. It features a UART interface for easy integration with the host MCU, high-level AT command configuration, and robust security protocols, including WPA2/WPA3 and TLS encryption. The board also includes a user-configurable RGB LED indicator and buttons for bootloader and application mode selection.

[Learn More]