Coder Social home page Coder Social logo

dicer's Introduction

dicer

Generic RPG Stat and Dice Roller for OS X

Build

Dicer uses MacGap to package the application. Make is eschewed for a simpler build.sh script. The resulting application is in ./app.

Use

Eventually there will be help in the application. For now, Characters have stats and rolls associated with them. Rolls use the following grammer:

dice [operation dice ] ... [operaton dice]
	  dice := integer | [num_rolls][rollmode][minmax]
			rollmode := d | w
		  minmax := integer | integer..integer

Some examples:

1d6 := roll 1 six sided die.
	1d6 + 2 := roll 1 six sided die, then add 2.
	2d8 + d6 := roll 2 eight sided die, then add the roll of a 1 sided die.
	1w6 := roll 1 six sided die. On a six, add the result and reroll.

Anywhere an integer can go, a stat box from the character can go. For example, the character "ThunderPants" has a state call "Pure Awesome" with a value of 27. He can add this value whenever he rolls a 6 sided die. His roll would look like:

1d6 + [Pure Awesome]

This can also be used for weapon damage in dnd 4th edition:

1d[W] + [Strength Mod] + [Weapon Enhancement] + [Weapon Proficiency]

Or for a wild die system, like Star Wars d6:

[Force Use]d6 + 1w6

dicer's People

Contributors

lordnull avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.