U++ framework
Do not panic. Ask here before giving up.

Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » Dice with parser example
Dice with parser example [message #19307] Tue, 25 November 2008 13:03
RHFaktor is currently offline  RHFaktor
Messages: 5
Registered: November 2008
Promising Member
Hello
Here is very simple example of dice combined with parser. Parameters of dice can be changed by right click menu.

1D6 == throw with one 6 sided dice (output in range 1-6)
2D9 == throw with two 9 sided dices (output in range 2-18)

you can specify more complex rules: abs(1D6-1D6)D20/5 or 1D9*10+1D9
It is only on your imagination.

/radek

p.s.
Any feedback or suggestion is welcome.
  • Attachment: Dice.zip
    (Size: 2.47KB, Downloaded 579 times)
Previous Topic: HTML generator
Next Topic: Hexbombs
Goto Forum:
  


Current Time: Sun May 10 17:39:35 GMT+2 2026

Total time taken to generate the page: 0.00515 seconds