A simple web based die roller I made to learn Ruby, and emulate the defunct Invisible Castle.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Silverwizard 8530e01fec Added license file 5 лет назад
LICENSE Added license file 5 лет назад
README Initial setup - the test command is for command line use and shouldn't really be in production 9 лет назад
config.rb Let's add an ID field so we can more effectively query! 9 лет назад
die.rb Initial setup - the test command is for command line use and shouldn't really be in production 9 лет назад
dieroller.html Initial setup - the test command is for command line use and shouldn't really be in production 9 лет назад
display.rb ok - Now just cleaning up a lot of possible issues, all the little edge case cleaning 9 лет назад
roller.rb Let's add an ID field so we can more effectively query! 9 лет назад
test.rb Initial setup - the test command is for command line use and shouldn't really be in production 9 лет назад

README

Basically, it's a slightly lower tech version of InvisibleCastle.com

You use the dieroller.html to roll some dice, and then, use display.rb to view the resutls. Longterm goal is to emulate most of the functionality of Invisible castle.

Currently uses the format:
NdM for a roll of N dice with M sides.
If you add a ! to the end of the roll line, dice will reroll if they roll the largest number

If you add a > sign followed by a number, it will assume that you want to roll successes, and will only roll dice and count the number that come up higher than the number after the > sign