DrugWars (DopeWars) clone for the Arduboy.
Find a file
2022-07-29 17:52:48 +00:00
res improved candywar translation 2022-06-21 22:13:26 -05:00
src added title sprites, added comma and apostrophe to fonts 2022-06-19 13:53:48 -05:00
.editorconfig switched char[] to string 2022-06-17 08:58:56 -05:00
.gitignore added script to make a family-friendly version of the game 2022-06-19 19:57:39 -05:00
DEV_NOTES.txt starting on game state management 2022-06-15 18:36:12 -05:00
LICENSE added license 2022-06-15 12:51:24 -05:00
Makefile added version to title screen 2022-06-19 13:56:25 -05:00
menu.ino added high score saving and reading 2022-06-21 21:36:50 -05:00
README.md updated screen shots to new img storage url 2022-07-29 17:52:48 +00:00
slangin.ino updated version string 2022-06-21 21:39:15 -05:00
states.ino added high score saving and reading 2022-06-21 21:36:50 -05:00

Slangin'

DrugWars (DopeWars) clone for the Arduboy.

You hit the streets of New York with $2000 in your pocket and a $5000 debt to the loan shark. Buy low and sell high to pay off your debt as quickly as possible, then spend the rest of the time getting rich to earn a high score. Each day has the possibility for a random event that could help or hinder your progress, and if you hold on to too much product Officer Hardass and his deputies might notice.

You can play either the classic 30 day mode, or an extended mode where you go for 60 days, and high scores for each mode are persisted to the EEPROM so they'll save between reboots.

Reference implementation.

Building

Run make to build slangin.hex. You need arduino-cli on your path already set up to compile for the Arduboy.

Running

Run make run to build and run the game. You need the sim-arduboy emulator on your path.

To run on an actual device, use arduino-cli to upload slangin.hex after building. For example:

make && \
arduino-cli upload -b arduino:avr:leonardo -p /dev/ttyACM1 slangin.hex

Your port path (-p argument) may differ depending on your system.

CandyWar

Run res/candywar.sh to generate an alternate version of the game with replaced title images and strings if you have delicate sensibilities.

Resources

Font libraries used:

Slightly modified to add missing comma and apostrophe characters.

Screenshots

slangin-title.png slangin-menu.png slangin-drugs.png slangin-buy.png slangin-hardass.png