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.
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.
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
There are 3 ways how to try out the game:
- You can clone the repository and then upload the program to your MAKERbuino
- You can download only HEX file and then copy it to the SD card and put SD card to the MAKERbuino
- You can again download HEX file and try it in online emulator.
This project is licensed under the MIT License - see the LICENSE.md file for details.