descriptionRunner game for Arduino
repository URLhttps://codeberg.org/Dolphinana/runner_game
ownerdolphinana@disroot.org
last changeTue, 31 Oct 2023 22:39:14 +0000 (31 22:39 +0000)
last refreshSat, 27 Apr 2024 11:57:54 +0000 (27 13:57 +0200)
content tags
add:
README.md

Runner game By Johannes (dolphinana)

Released under CC0 1.0

My email: dolphinana@disroot.org

This is a runner game made for Arduino UNO hooked to a 16x2 character display.

How to build the hardware

TODO...

Compilation and upload

This runner game can be compiled with the makefile or Arduino IDE. This instruction will show you both ways of compiling and uploading the game to Arduino.

The LCD library is required to compile this game. LiquidCrystal library: https://www.arduino.cc/reference/en/libraries/liquidcrystal/

Compile and upload the game to Arduino with makefile

Connect your Arduino to your computer, then enter the following commands:

# apt install arduino-mk

$ cd runner_game

$ make

$ make upload

If you can't compile the game because it couldn't find the LiquidCrystal library, install it. Otherwise, one workaround I did was to put the .cpp and .h file of LiquidCrystal library into runner_game directory. Then in runner_game.ino find the line #include <LiquidCrystal.h> and change it to #include "LiquidCrystal.h". Then on command line, run make clean and then make upload.

Compile and upload the game to Arduino with Arduino IDE

The word 'Arduino' is a trademark owned by Arduino.

shortlog
2023-10-31 DolphinanaFixed a typomaster
2023-08-17 dolphinunuREADME.md syntax fixes and noted trademark
2023-08-17 dolphinunufix README.md syntax
2023-08-17 dolphinunuadd COPYING file, which is CC0 1.0 text
2023-08-17 dolphinunuChanged the #include line
2023-08-17 dolphinunuComplete runner_game
heads
5 months ago master