43 lines
1.5 KiB
Markdown
43 lines
1.5 KiB
Markdown
# Slangin'
|
|
|
|
DrugWars (DopeWars) clone for the [Arduboy](https://www.arduboy.com).
|
|
|
|
[Reference implementation.](https://gist.github.com/mattmanning/1002653/b7a1e88479a10eaae3bd5298b8b2c86e16fb4404)
|
|
|
|
## Building
|
|
|
|
Run `make` to build `slangin.hex`. You need [arduino-cli](https://github.com/arduino/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](https://github.com/dxxb/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 if you have delicate sensibilities.
|
|
|
|
## Resources
|
|
|
|
Font libraries used:
|
|
- [Font3x5](https://github.com/filmote/Font3x5)
|
|
- [Font4x6](https://github.com/filmote/Font4x6)
|
|
|
|
Slightly modified to add missing comma and apostrophe characters.
|
|
|
|
## Screenshots
|
|
|
|
![slangin-title.png](https://img.rdsm.ca/images/2022/06/21/slangin-title.png)
|
|
![slangin-menu.png](https://img.rdsm.ca/images/2022/06/21/slangin-menu.png)
|
|
![slangin-hardass.png](https://img.rdsm.ca/images/2022/06/21/slangin-hardass.png)
|
|
![slangin-drugs.png](https://img.rdsm.ca/images/2022/06/21/slangin-drugs.png)
|
|
![slangin-buy.png](https://img.rdsm.ca/images/2022/06/21/slangin-buy.png)
|