gdado Screenshot A minimalistic dice rolling program

A very simple application for rolling dices.

Intended for use by roleplayers. It is written in C using GTK+. Glade project is also providided with the source. Gdado relies on a simple and clean user interface.

A few different type of rolls are provided.

The code has support for internationalization.

License: free
Requirements: Gnome libraries.

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
noyesnonononoyes
Suggest an update

Comments

Omfg. Dice roller. I think there's no place for such thinks on linux game tome. And I also think roleplayers can get money for multiple dice sets, and play away from computer.
Omfg. Dice roller. I think there's no place for such thinks on linux game tome. And I also think roleplayers can get money for multiple dice sets, and play away from computer.
Re: gdado posted by anonymous on Sep 8 2007 12:10 AM
lol !
Re: gdado posted by Flamma on Sep 8 2007 3:31 PM
Well, I think nobody forces you for downloading it. We simply made available an application that was useful for us, when we do not have dies at hand, or when we simply didn't want to search them, or when we wanted to roll a huge amount of them.

I think we are not the only ones, as the program has been downloading for more people than we expected, and even we have received thanks via mail and contributions such as translations. Some people have made packages that have been included in some distro's repositories, and other have compiled it in mobile devices that are more confortable for them.

But, as I said, if you don't find it useful, don't waste your time and proceed for next game.
I've done it using Javascript+HTML. I hope it is as usefull as this one. Very basic CSS but who needs more? :D

The form:

hdado <script> function make_string(dices,sides) { final_string = ""; total = 0; for(iter=0;iter < dices;iter++) { num = roll_dice(1,sides); total += num; final_string += ((iter==0)?"":" + ") + num; } final_string += " = " + total; return(final_string); } function roll_dice(min,max) { numSides = max - min; aleat = Math.random() * numSides; aleat = Math.round(aleat); return parseInt(min) + aleat; } Dices : ^ v
Sides : ^ v
Roll
Result :

The script:

<html>
  <head>
    <title>hdado</title>
    <script>
      function make_string(dices,sides)
      {
        final_string = "";
        total = 0;
        for(iter=0;iter < dices;iter++)
        {
          num = roll_dice(1,sides);
          total += num;
          final_string += ((iter==0)?"":" + ") + num;
        }
        final_string += " = " + total;
        return(final_string);
      }
      function roll_dice(min,max)
      {
        numSides = max - min;
        aleat = Math.random() * numSides;
        aleat = Math.round(aleat);
        return parseInt(min) + aleat;
      }
    </script>
    <style>
      #num_dices, #num_sides
      {
      width:3em;
      }
      #dices > span, #sides > span, #roll
      {
      border:solid thin;
      }
    </style>
  </head>
  <body>
    <form action="#">
      <span id="dices">Dices :
        <input id="num_dices" value="1"/>
        <span onClick="javascript(num_dices.value++)">^</span>
        <span onClick="javascript(num_dices.value=((num_dices.value>1)?(num_dices.value-1):1))">v</span>
      </span>
      <br />
      <span id="sides">Sides :
        <input id="num_sides" value="6"/>
        <span onClick="javascript(num_sides.value++)">^</span>
        <span onClick="javascript(num_sides.value=((num_sides.value>1)?(num_sides.value-1):1))">v</span>
      </span>
      <br />
      <span id="roll" onClick="javascript(result_text.value=make_string(num_dices.value,num_sides.value))">Roll</span>
      <br />
      <span id="result">Result : <input id="result_text" value="" /></span>
    </form>
  </body>
</html>
Re: An HTML/JS version posted by petteri on May 17 2008 3:10 PM
If that should work on that comment, it does not, at least not in Opera. gdado is neat 5 stars!
I don't usually like to criticize on what people use their time to develop, but Sweet Zombie Jesus, this is too much ;)
Re: gdado posted by Flamma on Sep 9 2007 6:53 PM
Don't lose your good habits.
The developer should look up 'minimalistic'. It does not mean what he thinks it means.
Re: hint: dictionary.com posted by Flamma on Feb 19 2008 9:37 AM
Please, excuse my poor English. But I haver searched it on dictionary.com, and I find: of or pertaining to someone or something advocating smallness.

I think that gdado is advocating smallnes, or at least, that was our intention. Do you think that minimal would be a better word? Anyway, thanks for the advice.
It's funny, I actually have an electronic device that can actually calculate the rolls of dice on its own if necessary. Appropriately enough, it's called a CALCULATOR.

Someone should give this five stars if for no other reason than that it's even more of a stupid idea than that Usenet freak Paul Panks' poorly-written text adventures.

Re: Wow! posted by Flamma on Feb 19 2008 9:10 AM
It's funny. I read your comments, and I think "what a waste of time we did!".

Then I see google and I think "If so many people have added it to repos, to compillations and even to distros (I only published it in sf.net and LGT), it must that it is useful to somenone".

Then, I read my mail, and read from people that give us thanks, and people who wants to collaborate and I think "Definetely, it is useful for someone". And I see that someone else sent the update news and I think "Even in LGT, there is someone interested".

So, I reach to the conclusion: "There is people who complains, and people who works".

We didn't want to make a killer app. We did gdado because it is useful for us. And we published it because we think that, not a bunch of users, but someone could want it also.

Hint: Nobody is asking you to use gdado instead of your calculator.
Manolo manolo, me han robado la cartera...no no, que la tiene el molecula...
Re: gdado posted by anonymous on Mar 5 2008 11:33 PM
??? Could you please write in English ? Who is Manolo ? What is cartera ? Who is molecula ???

Gilberto

Manolo Manolo, Somebody stole my bag..no no, molecule man has it..

Excellent game, If we were in 1978 you could be rich with it.

Log in or register to rate this game or post a comment.