Main > Free Download Search >

Free dice software for linux

dice

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 38
dicelab 0.4

dicelab 0.4


dicelab allows you to express complex dice rolling schemes in a functional language and then roll dice. more>>
dicelab allows you to express complex dice rolling schemes in a functional language and then roll dice according to such a scheme or analyze the statistic distribution of values.
It is useful when designing games (and to some degree when playing them).
Usage: dicelab [options] [-f < file >]
Options:
--help -h -? print this text
--version -v print the program version
--print-tree -p print the parse tree (for debugging)
--eval -e evaluate the statistical distribution by
re-rollingp
--count -c specify the number of rolls used with --eval
default is 10000
--roll -r roll the dice as specified, will also be used
if no other action is requested
File:
--file -f read the dice rolling specs from the file
specified, use stdin if not supplied
Enhancements:
- The program is much faster now.
<<less
Download (0.13MB)
Added: 2007-08-21 License: GPL (GNU General Public License) Price:
794 downloads
Dice3DS 0.6

Dice3DS 0.6


Dice3DS is a set of Python modules for dealing with 3D Studio format files. more>>
Dice3DS project is a set of Python modules for dealing with 3D Studio format files. I have released it under the terms of a BSD-style license.
3D Studio is a 3D graphics modeling and rendering program that saved it images in a rather simple binary file format known as 3DS format. Although 3D Studio has not released the details of the 3DS format, it has been reverse engineered by some ambitious people, and I used the information to write Dice3DS, a Python package that slices and dices 3DS files.
Dice3DS requires Python 2.2 or higher, as it uses metaclass programming, and Python Numeric. Note that it is not a wrapper for lib3ds; its a Pure Python module.
There are two packages in Dice3DS: Dice3DS, and Dice3DS.example. The latter includes some modules that exemplify the use of Dice3DS, although they are not very versatile.
Heres a brief description of each module:
Dice3DS.dom3ds
Slice and dice 3DS files.
Provides for reading, writing, and manipulating 3DS files. Its
called dom3ds because its reminiscent of XML-DOM: it converts the 3DS
file into a hierarchy of objects, in much the same way XML-DOM
converts an XML file into a hierarchy of objects called the Document
Object Model. The dom3ds module creates an object for each chunk in
the 3DS file, which can be accessed hierarchially as attributes.
For example, once a 3DS file is loaded, you could the smoothing data
of the second object like this:
dom.mdata.objects[2].ntri.faces.smoothing.array
Dice3DS.util
Utitily function for Dice3DS.
Defines some routines for calculating normals and transforming points.
Dice3DS.example.basicmodel
Basic abstract classes representing a 3DS model.
Defines some classes that represent objects and materials of a 3DS
file in a more convienient form. It has methods to convert from the
DOM format. The classes can serve as base classes for more advanced
uses.
Dice3DS.example.glmodel
Classes for rendering 3DS models in OpenGL.
Defines some classes (based on Dice3DS.example.basicmodel) with some
additional methods to draw the model in OpenGL, or create a display
list to do so. Requires PyOpenGL.
Dice3DS.example.gltexture
OpenGL texture object abstraction.
Provides a class that is an abstraction of OpenGL texture objects. It
can create textures from image files, and automatically generates
mipmaps if requested. Requires PyOpenGL and Python Imaging Library.
Dice3DS.example.modelloader
Example of loading 3DS models.
Provides functions to load a 3DS model and creating a GLModel (or
BasicModel) from it. Shows how to load models from the filesystem, or
directly from a zip file.
Enhancements:
- The code was changed to use the constants defined in the "numpy" namespace instead of the "Numeric" namespace, since numpy no longer seems to provide the Numeric constants.
- The advantage is that it works for numpy 1.0.
- The disadvantage is that you can no longer backport it to Numeric by changing the import statements.
- Most inexplicably, the behavior of numpy.sum changed and broke the calculation of normals.
- Thus, the builtin sum is used in util.py instead of numpy.sum.
<<less
Download (0.024MB)
Added: 2007-04-08 License: GPL (GNU General Public License) Price:
930 downloads
Games::Dice 0.02

Games::Dice 0.02


Games::Dice is a Perl module that can be used to simulate dice rolls. more>>
Games::Dice is a Perl module that can be used to simulate dice rolls.

SYNOPSIS

use Games::Dice roll;
$strength = roll 3d6+1;

use Games::Dice roll_array;
@rolls = roll_array 4d8;

Games::Dice simulates die rolls. It uses a function-oriented (not object-oriented) interface. No functions are exported by default. At present, there are two functions which are exportable: roll and roll_array. The latter is used internally by roll, but can also be exported by itself.

The number and type of dice to roll is given in a style which should be familiar to players of popular role-playing games: adb[+-*/b]c. a is optional and defaults to 1; it gives the number of dice to roll. b indicates the number of sides to each die; the most common, cube-shaped die is thus a d6. % can be used instead of 100 for b; hence, rolling 2d% and 2d100 is equivalent. roll simulates a rolls of b-sided dice and adds together the results.

The optional end, consisting of one of +-*/b and a number c, can modify the sum of the individual dice. +-*/ are similar in that they take the sum of the rolls and add or subtract c, or multiply or divide the sum by c. (x can also be used instead of *.) Hence, 1d6+2 gives a number in the range 3..8, and 2d4*10 gives a number in the range 20..80. (Using / truncates the result to an int after dividing.) Using b in this slot is a little different: its short for "best" and indicates "roll a number of dice, but add together only the best few". For example, 5d6b3 rolls five six- sided dice and adds together the three best rolls. This is sometimes used, for example, in roll-playing to give higher averages.

Generally, roll probably provides the nicer interface, since it does the adding up itself. However, in some situations one may wish to process the individual rolls (for example, I am told that in the game Feng Shui, the number of dice to be rolled cannot be determined in advance but depends on whether any 6s were rolled); in such a case, one can use roll_array to return an array of values, which can then be examined or processed in an application-dependent manner.

This having been said, comments and additions (especially if accompanied by code!) to Games::Dice are welcome. So, using the above example, if anyone wishes to contribute a function along the lines of roll_feng_shui to become part of Games::Dice (or to support any other style of die rolling), you can contribute it to the authors address, listed below.

<<less
Download (0.004MB)
Added: 2007-07-25 License: Perl Artistic License Price:
821 downloads
Open Dice Language 1.5

Open Dice Language 1.5


Open Dice Language project is a language for describing dice rolls. more>>
Open Dice Language project is a language for describing dice rolls.

Open Dice Language is a language for describing dice rolls.

The language is nearly identical to what you see in most role-playing game texts (e.g., "1d20"). It provides several interfaces to the language.

To run in CLI interface mode:

# pushd $ODL_HOME
# java -jar ODL.jar

To run as Widget:

build using `ant widget`
widget is now installed in users widget directory

<<less
Download (0.49MB)
Added: 2007-01-08 License: BSD License Price:
1019 downloads
WWW::Scraper::Dice 0.01

WWW::Scraper::Dice 0.01


WWW::Scraper::Dice Perl module contains Scrapes Dice : (skills,locations) => (title, location ,residue). more>>
WWW::Scraper::Dice Perl module contains Scrapes Dice : (skills,locations) => (title, location ,residue).

SYNOPSIS

use WWW::Search;
my $oSearch = new WWW::Scraper(Dice);
my $sQuery = WWW::Scraper::escape_query("unix and (c++ or java)");
$oSearch->native_query($sQuery,
{method => bool,
state => CA,
daysback => 14});
while (my $res = $oSearch->next_result()) {
if(isHitGood($res->url)) {
my ($company,$title,$date,$location) =
($res->company, $res->title, $res->date, $res->location);
print "$company $title $date $location " . $res->url . "n";
}
}

<<less
Download (0.037MB)
Added: 2007-06-14 License: Perl Artistic License Price:
862 downloads
WWW::Search::Dice 2.026

WWW::Search::Dice 2.026


WWW::Search::Dice is a class for searching Dice. more>>
WWW::Search::Dice is a class for searching Dice.

SYNOPSIS

use WWW::Search;
my $oSearch = new WWW::Search(Dice);
my $sQuery = WWW::Search::escape_query("unix and (c++ or java)");
$oSearch->native_query($sQuery,
{method => bool,
state => CA,
daysback => 14});
while (my $res = $oSearch->next_result()) {
if(isHitGood($res->url)) {
my ($company,$title,$date,$location) =
$oSearch->getMoreInfo($res->url);
print "$company $title $date $location " . $res->url . "n";
}
}

sub isHitGood {return 1;}

This class is a Dice specialization of WWW::Search. It handles making and interpreting Dice searches at http://www.dice.com.

By default, returned WWW::SearchResult objects contain only url, title and description which is a mixture of location and skills wanted. Function getMoreInfo( $url ) provides more specific info - it has to be used as

my ($company,$title,$date,$location) =
$oSearch->getMoreInfo($res->url);

<<less
Download (0.023MB)
Added: 2007-06-15 License: Perl Artistic License Price:
863 downloads
Max Dice Roller - Linux 1.01

Max Dice Roller - Linux 1.01


Max Dice is a simple dice rolling utility for games. more>>

Max Dice is a simple dice rolling utility for use on Windows and Linux systems You may enter your information in one of two places. You may enter in the text box or by moving the slider to the left or right correlating to the field you are adjusting.
Here are the definitions of each of the fields
1. Dice to roll ? This field determines how many dice that the program will roll for you. (1- one dice, 2-two dice, up to as many dice as you need to roll)
2. Size of dice ? This field determines the size of the dice (i.e. standard dice = 6, this would decide what the maximum number would be,)
3. Maxed dice ? This field determines the number of dice to set at the maximum level. (For example if you are rolling 5 dice, and you want 3 at max always, set at 3.)
4. Tossed dice ? This field determines the number of low dice that you will throw out. This will eliminate this number of low throws from the total.
5. Reroll ? high. This will cause all dice that are rolled at this number or higher to be rolled again.
6. Reroll ? low. This will cause all dice that are rolled at this number or lower to be rolled again.

<<less
Download (6.38MB)
Added: 2009-04-23 License: Freeware Price: $0
187 downloads
WWW::Search::Scraper::Dice 2.27

WWW::Search::Scraper::Dice 2.27


WWW::Search::Scraper::Dice is a Perl module that scrapes Dice : (skills,locations) => (title, location ,residue) more>>
WWW::Search::Scraper::Dice is a Perl module that scrapes Dice : (skills,locations) => (title, location ,residue)

SYNOPSIS

use WWW::Search;
my $oSearch = new WWW::Search::Scraper(Dice);
my $sQuery = WWW::Search::Scraper::escape_query("unix and (c++ or java)");
$oSearch->native_query($sQuery,
{method => bool,
state => CA,
daysback => 14});
while (my $res = $oSearch->next_result()) {
if(isHitGood($res->url)) {
my ($company,$title,$date,$location) =
($res->company, $res->title, $res->date, $res->location);
print "$company $title $date $location " . $res->url . "n";
}
}

This class is a Dice extension of WWW::Search::Scraper. It handles making and interpreting Dice searches at http://www.dice.com.

<<less
Download (0.13MB)
Added: 2007-06-15 License: Perl Artistic License Price:
861 downloads
Text::NSP::Measures::2D::Dice::dice 1.03

Text::NSP::Measures::2D::Dice::dice 1.03


Text::NSP::Measures::2D::Dice::dice is a Perl module to compute Dice coefficient for bigrams. more>>
Text::NSP::Measures::2D::Dice::dice is a Perl module to compute Dice coefficient for bigrams.

SYNOPSIS

Basic Usage

use Text::NSP::Measures::2D::Dice::dice;

my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10;

$dice_value = calculateStatistic( n11=>$n11,
n1p=>$n1p,
np1=>$np1,
npp=>$npp);

if( ($errorCode = getErrorCode()))
{
print STDERR $errorCode." - ".getErrorMessage()."n"";
}
else
{
print getStatisticName."value for bigram is ".$dice_value."n"";
}

Assume that the frequency count data associated with a bigram is stored in a 2x2 contingency table:

word2 ~word2
word1 n11 n12 | n1p
~word1 n21 n22 | n2p
--------------
np1 np2 npp

where n11 is the number of times < word1 >< word2 > occur together, and n12 is the number of times < word1 > occurs with some word other than word2, and n1p is the number of times in total that word1 occurs as the first word in a bigram.

The Dice Coefficient is defined as :

2 * n11
---------
np1 + n1p

The Jaccard coefficient can also be computed by applying a transformation to the dice coefficient:

$jaccard = $dice/(2-$dice)

Methods

calculateStatistic() - method to calculate the dice coefficient value

INPUT PARAMS : $count_values .. Reference of an hash containing the count values computed by the count.pl program.

RETURN VALUES : $dice .. Dice Coefficient value for this bigram.

getStatisticName() - Returns the name of this statistic

INPUT PARAMS : none

RETURN VALUES : $name .. Name of the measure.

<<less
Download (0.93MB)
Added: 2007-03-16 License: GPL (GNU General Public License) Price:
954 downloads
Text::NSP::Measures::2D::Dice::jaccard 1.03

Text::NSP::Measures::2D::Dice::jaccard 1.03


Text::NSP::Measures::2D::Dice::jaccard is a Perl module that implements the jaccard coefficient. more>>
Text::NSP::Measures::2D::Dice::jaccard is a Perl module that implements the jaccard coefficient.

SYNOPSIS

Basic Usage

use Text::NSP::Measures::2D::Dice::jaccard;

my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10;

$jaccard_value = calculateStatistic( n11=>$n11,
n1p=>$n1p,
np1=>$np1,
npp=>$npp);

if( ($errorCode = getErrorCode()))
{
print STDERR $errorCode." - ".getErrorMessage()."n"";
}
else
{
print getStatisticName."value for bigram is ".$jaccard_value."n"";
}

Assume that the frequency count data associated with a bigram < word1 >< word2 > is stored in a 2x2 contingency table:

word2 ~word2
word1 n11 n12 | n1p
~word1 n21 n22 | n2p
--------------
np1 np2 npp

where n11 is the number of times < word1 >< word2 > occur together, and n12 is the number of times < word1 > occurs with some word other than word2, and n1p is the number of times in total that word1 occurs as the first word in a bigram.

The Jaccard Coefficient is the ratio of number of times the words occur together to the number of times atleast any one of the words occur. It is defined as:

n11
---------------
n11 + n12 + n21

The Jaccard coefficient can also be computed by applying a transformation to the dice coefficient:

$jaccard = $dice/(2-$dice)
We use this computation of jaccard in our implementation.

Methods

calculateStatistic() - method to calculate the jaccard coefficient value

INPUT PARAMS : $count_values .. Reference of an hash containing the count values computed by the count.pl program.

RETURN VALUES : $jaccard .. Jaccard Coefficient value for this bigram.

getStatisticName() - Returns the name of this statistic

INPUT PARAMS : none

RETURN VALUES : $name .. Name of the measure.

<<less
Download (0.94MB)
Added: 2007-03-15 License: GPL (GNU General Public License) Price:
954 downloads
PDL::Slices 2.4.3

PDL::Slices 2.4.3


PDL::Slices is a Perl module used for indexing, slicing, and dicing. more>>
PDL::Slices is a Perl module used for indexing, slicing, and dicing.

SYNOPSIS

use PDL;
$a = ones(3,3);
$b = $a->slice(-1:0,(1));
$c = $a->dummy(2);

This package provides many of the powerful PerlDL core index manipulation routines. These routines mostly allow two-way data flow, so you can modify your data in the most convenient representation. For example, you can make a 1000x1000 unit matrix with

$a = zeroes(1000,1000);
$a->diagonal(0,1) ++;

which is quite efficient. See PDL::Indexing and PDL::Tips for more examples.
Slicing is so central to the PDL language that a special compile-time syntax has been introduced to handle it compactly; see PDL::NiceSlice for details.

PDL indexing and slicing functions usually include two-way data flow, so that you can separate the actions of reshaping your data structures and modifying the data themselves. Two special methods, copy and sever, help you control the data flow connection between related variables.

$b = $a->slice("1:3"); # Slice maintains a link between $a and $b.
$b += 5; # $a is changed!

If you want to force a physical copy and no data flow, you can copy or sever the slice expression:

$b = $a->slice("1:3")->copy;
$b += 5; # $a is not changed.

$b = $a->slice("1:3")->sever;
$b += 5; # $a is not changed.

The difference between sever and copy is that sever acts on (and returns) its argument, while copy produces a disconnected copy. If you say

$b = $a->slice("1:3");
$c = $b->sever;

then the variables $b and $c point to the same object but with ->copy they would not.

<<less
Download (2.1MB)
Added: 2007-06-29 License: Perl Artistic License Price:
847 downloads
citygen 0.1.3

citygen 0.1.3


citygen project is a medieval city/kingdom demographics generator. more>>
citygen project is a medieval city/kingdom demographics generator.
citygen is a program which creates Medieval city and kingdom demographics. The demographics are completely configurable with options to force certain professions and to limit specific buildings. Its very handy for AD&D and other RPGs.
Shortly after releasing that program, citygen, I was asked if I would make a graphical version. I wanted to learn GTK programming under linux so I started out with a simple program to get the basics, GODR: The GTK Ochre Dice Roller. After finishing that, I wrote the GTK frontend of citygen, now known as GROCK: GTK Reorganized Ochre City and Kingdom generator.
Main features:
- GTK City/Kingdom Generator
- Console based City/Kingdom Generator
- GTK Dice Roller
Enhancements:
- city.c had a bug that would cause it to segfault
<<less
Download (0.063MB)
Added: 2006-11-15 License: GPL (GNU General Public License) Price:
1108 downloads
kTritoc 1.0.0

kTritoc 1.0.0


kTritoc is a one or two player boardgame for Linux/KDE3. more>>
kTritoc is a one or two player boardgame for Linux/KDE3.
kTritoc is a small desktop game for the KDE. One or two player try to occupy a game board of 9 fields containing 9 holes.
Each of the fields as well as the game itself is won by placing 3 pieces of the same color into one row, coloumn or diagonal (ala Tic-Tac-Toe).
However, the places where to place your pieces is determined by dice adding an random luck factor to the game.
Main features:
- Tic-tac-toe like boardgame
- Random and strategic elements
- Various configuration options and levels
The game is written and compiled under SUSE Linux 8.0 using qt.3.x and KDE 3.x. If you use the source file it shouldnt matter though and it will run with any Linux distribution.
Installation:
tar xzf ktritoc-1.0.tar.gz
cd ktritoc-1.0
./configure
make
as root:
make install
otherwise (recommended):
su -c make install
or if you do not have installation rights:
cd ktritoc/ktritoc/ktritoc
<<less
Download (1.0MB)
Added: 2005-12-02 License: GPL (GNU General Public License) Price:
1421 downloads
GnoTime 2.2.2

GnoTime 2.2.2


GnoTime provides a to-do list organizer and project timer. more>>
GnoTime provides a to-do list organizer and project timer.
GnoTime is a to-do list tracker and project timer with a built-in invoice generator. It allows users to keep track of how much time they have spent working on particular tasks, maintain a diary of that work, and create invoices with task-specific billing fees and rates.
Main features:
- Multiple To-Do Lists that can be sorted by the priority/importance of the tasks in the list. The to-do items can be organized into categories, arranged in a hierarchical way. This makes it easy to maintain both business and personal items in the list, or handle many different projects, while keeping them separate from each other.
- A pair of Diary/Journal areas that can be used to keep long and detailed notes and diary entries. The project description area allows a multi-paragraph description or status to be typed in. The diary area allows day-to-day notes to be associated with a set of timestamps, so that one has a record of what one did on any given day.
- A Running Timer, with time totals, for each project/task. One starts the timer by clicking on a task: it will measure the amount of time that you are in front of the computer. If it detects that the keyboard/mouse are idle, it will stop the clock. If the clock stays stopped too long, it will nag you to start it up again. You can view time totals by day, week, month or year.
- A Billing Status dialog for each diary entry. You can mark any given diary entry as bill-able/non-bill-able, paid or pending, and set the billing rate. Each project can also be marked up with a set of project-planning information: planed start, end and due dates, hours to finish, percent-complete. This is in addition to assigning an urgency/importance to each project, as well as a status (completed/in-progress not-started/canceled).
- A half-dozen different HTML Reports that can slice and dice your lists. Theres a Journal report that shows all of the diary entries for one given project. Theres an Invoice report that summarizes the time spent on each entry, and computes a dollar amount for it. Theres a Status Report that prints the title of each project, together with the paragraph-long descriptions of each. Theres a ToDo report, which prints only the project title, the importance/urgency, and the completed/in-progress/not-started status. The Daily report summarizes the total time spent on a day-by-day basis, and lists each of the projects that were worked on in a given day. Each of these reports can be customized. And, because theyre HTML, you can even publish them as web pages. (Yes, Ive thought of using GnoTime as a weblog management/publishing tool).
Enhancements:
- Build against QOF version 0.6.0, if available.
- Fix issue where yelp doesnt display an entry for gnotime when browsing because it doesnt recognize the entry
- Fix sourceforge bug [ 799077 ] projects blanked when first time user tries to sort
- fix broken leap-year calculation, leading to bugs sourceforge bugs [ 983408 ] and [ 1114205 ]
- Fix crash due to hoverhelp timer popping after a report window is closed.
- Change activity report to display date/time in two distinct html table columns (prettier alignment)
- Bug fix: sourceforge bug report fixed [ 877193 ] toolbar wont go to/stay in text-only mode
- Bug fix: editing time brings up wrong report
- fedora .spec file is out of date and rpm cannot build rpm
- Fix bug involving copy of old gnotime files to a new machine on which gnotime has never been run before.
- Fix sourceforge bug [ 1276458 ] "Empty" appears in diary entry
- Apply sourceforge patch 1176719 Extensible fix for gtkhtml3 building
- Apply 1171394 Adds separate timeout for "No Project" dialog
- Apply sourceforge patch 085911 Add "-" value for status field
- Apply sourceforge patch 074658 Add wordwrapping to diary entry boxes
- Apply sourceforge patch 1074458 Fix a crash when invoking help
- Apply sourceforge patch 1038701 Fix to Activity item in popup menu
- Apply sourceforge patch 1027582 Build system update for qof inclusion
- Fix idle time so that it works with Linux 2.6 kernel /proc/interrupts
- use %e to see the estimated sizing of a project in the logfiles
- Apply new pt_BR translation from Goedson Teixeira Paixao
- Fix for Debian Bug #250776, change widget visibility in the edit interval dialog
<<less
Download (1.3MB)
Added: 2007-02-14 License: GPL (GNU General Public License) Price:
983 downloads
Random Phase Music Generator 2.0

Random Phase Music Generator 2.0


Random Phase Music Generator is a small program that generates random phase music. more>>
Random Phase Music Generator is a small program that generates random phase music. Random music has been around for a long time (from Mozarts musical dice game to John Cages chance music), but phase music was invented rather recently by Steve Reich.

It would be interesting to combine those ideas, so I have written this program as a tool for further experiments. Type xmkmf and then make to compile the program. LessTif users, replace xmkmf with mxmkmf.

If your xmkmf is broken, you have to install manually. Edit Makefile.man (examples for Solaris, AIX and LessTif are provided). Make sure INCS and LIBS are linking to the correct directories, then type make -f Makefile.man to compile.

Run phase from an X terminal. Some users might need to point LD_LIBRARY_PATH to the Motif libraries. After starting up the program, you can use the File menu to load or save the panel settings, and the Music menu to play the generated phase music or save it to a MIDI file.

<<less
Download (0.008MB)
Added: 2006-08-04 License: GPL (GNU General Public License) Price:
1188 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 3
  • 1
  • 2
  • 3