TOP Contributors

  1. MIKROE (2751 codes)
  2. Alcides Ramos (372 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 (139059 times)
  2. FAT32 Library (71589 times)
  3. Network Ethernet Library (56988 times)
  4. USB Device Library (47330 times)
  5. Network WiFi Library (43006 times)
  6. FT800 Library (42297 times)
  7. GSM click (29775 times)
  8. mikroSDK (27874 times)
  9. PID Library (26858 times)
  10. microSD click (26129 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: 120 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

EVE click - Example

0

This is a sample program which demonstrates the use of EVE click board. EVE click can be used to drive TFT with on board FT800 chip.

[Learn More]

UT-M 7-SEG R Click

0

UT-M 7-SEG R Click carries two SMD ultra thin LED 7-SEG displays and the MAX6969 constant-current LED driver from Maxim Integrated. The Click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over SPI interface.

[Learn More]

RS485 7 Click

0

RS485 7 Click is a compact add-on board that enables communication over an RS485 network. This board features the THVD1424, a full duplex RS485 transceiver with a selectable data rate from Texas Instruments. The THVD1424 offers several pin-controlled features, including an on-chip 120Ω termination resistor, slew rate control, and the ability to switch between half and full duplex mode. With its high immunity to IEC Contact Discharge ESD events, the bus pins require no additional system-level protection components. Additionally, the chip is known for its low power consumption and glitch-free power-up/power-down functionality, which enables hot plug-in capability.

[Learn More]