Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 465 times)
 
Read Message
Previous Topic: HTML generator
Next Topic: Hexbombs
Goto Forum:
  


Current Time: Fri Mar 29 09:01:32 CET 2024

Total time taken to generate the page: 0.01348 seconds