Skip to content

RokKos/makerbuino-pong-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAKERbuino Pong Game

PONG GIF

MIT License

Table of Contents

About

This is 8-bit pong game for MAKERbuino. I am making this game just to get to know the platform. Expect more games like this in future.

So this is basically remaking of one of earliest games called Pong. You can read more on wiki. But there is a twist I am doing this on a game console called MAKERbuino. This game is for two players and can be played locally on one console.

Resources

So first we need some basic documentation. For this, we can turn on MAKERbuino Getting Started guide. Here you will find all the instructions to start coding.

Then when you start to code and get into the details this two reference pages: Arduino and GAMEbuino will help you out.

And you call also check this tutorial which was the inspiration for this project.

Arduino also provides the IDE for coding, building the project and exporting the project. You can found IDE here. But I personally don't use it. See the Building Project paragraph for this.

I also found this helpful site for converting/exporting .bmp images to C HEX array so that you can include pictures in your game.

Building Project

So I am really a fan of a terminal and VS Code. This is the reason why I abandoned Arduino IDE. In my opinion, it just took many clicks to export your project and rename it like says in documentation. So I created the script that automates this process. This script builds the project from .ino files and then deletes all unused build outputs and then renames it to the name_of_the_game.HEX. Usage of the script:

cd src/pong_game/
chmod +x rename.sh
./rename.sh

TODO: implement continuous integration with Travic CI or PlatformIO

Trying out the Game

There are 3 ways how to try out the game:

  1. You can clone the repository and then upload the program to your MAKERbuino
  2. You can download only HEX file and then copy it to the SD card and put SD card to the MAKERbuino
  3. You can again download HEX file and try it in online emulator.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Releases

No releases published

Packages

No packages published