Skip to content

hobosock/gb_dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gameboy Dice

Gameboy Dice is an application for the Nintendo Gameboy that can be used to emulate dice rolls for table top RPG style games. You can configure the number of dice, the number of sides, and add a bonus or penalty to the final roll.

Tested on BGB only.

Instructions

The top half of the screen is dedicated to configuring the roll. It uses a fairly standard die roll notation A dB +/- C. A is the number of dice to roll, B is the number of sides the dice will have, and C is the penalty or modifier.

Use left/right on the D pad to select the number to modify. Up/down on the D pad will change the selected number, or change the modifier from a bonus (add) to penalty (subtract). Pressing A will roll the configured dice and display the total in the bottom half of the screen. Pressing B will roll the configured dice and add the result to the existing total, handy for cases where you need to rull a combination of dice with different sides.

Randomness

The rolls are semi-randomized using Damian Yerrick's algorithm.

Build

The latest ROM and debug SYM file can be downloaded from the release section. The files can be built using RGBDS and the included make file. You will need to download a copy of the hardware.inc file and place it in the main directory.

git clone https://github.com/hobosock/gb_dice
cd gb_dice
curl -o hardware.inc https://raw.githubusercontent.com/gbdev/hardware.inc/refs/heads/master/hardware.inc
make

About

a dice roller "app" that runs on the Nintendo Gameboy

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors