Main > Free Download Search >

Free games perlwar 0.02 software for linux

games perlwar 0.02

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2338
Games::PerlWar 0.02

Games::PerlWar 0.02


Games::PerlWar is a Perl variant of the classic Corewar game. more>>
Games::PerlWar is a Perl variant of the classic Corewar game.

This is a sparring program, similar to the programmed reality of the Matrix.
It has the same basic rules, rules like gravity. What you must learn is that
these rules are no different than the rules of a computer system. Some of
them can be bent, others can be broken. - Morpheus

PerlWar is inspired by the classic http://www.corewar.info/|Corewar game. In this game, players pit snippets of Perl code (called agents) against each other in order to gain control of the vicious virtual battlefield known as... the Array.

GAME PARAMETERS

Size of the Array

The number of cells that the Array possesses. Each cell can hold one agent.

Agent Maximal Size

The maximal length, in characters, of an agent. If an agent is or becomes larger than this limit, it automatically segfaults upon execution.

Game Maximal Number of Iterations

The maximal number of rounds that can be played before a game is declared over.

<<less
Download (0.031MB)
Added: 2006-12-28 License: Perl Artistic License Price:
1036 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
Games::Score 0.02

Games::Score 0.02


Games::Score is a Perl module to keep track of score in games . more>>
Games::Score is a Perl module to keep track of score in games .

SYNOPSIS

use Games::Score;

# these three values are the default ones, by the way
Games::Score->default_score(0);
Games::Score->default_step(1);
Games::Score->step_method(inc);

# start two players
my $player1 = Games::Score->new();
my $player2 = Games::Score->new();

# set a winning condition
Games::Score->victory_is( sub { $_[0] >= 20 } );

# and something to do if it is achieved
Games::Score->on_victory_do( sub { print "Won!" } );

# give points to the players
$player1->add(2);
$player2->step();

# look at section FUNCTIONS for more functionalities, such as
Games::Score->invalidate_if( sub { $_[0] > 20 } );

Games::Score can be use to keep track of several players points in a game, regardless of the starting amount of points, winning and/or losing conditions, etc.
It provides several useful methods so that the user doesnt have to keep testing values to see if theyre valid or if the player condition has changed.

<<less
Download (0.007MB)
Added: 2006-12-27 License: Perl Artistic License Price:
1031 downloads
PerlIO 0.02

PerlIO 0.02


PerlIO is a Perl module created to load on demand PerlIO layers and root of PerlIO::* name space. more>>
PerlIO is a Perl module created to load on demand PerlIO layers and root of PerlIO::* name space.

SYNOPSIS

open($fh,":utf8", "data.utf");
print F $out;
close(F);

open(F, "<<less
Download (0.014MB)
Added: 2007-05-14 License: Perl Artistic License Price:
893 downloads
Simpla 0.02

Simpla 0.02


Simpla project is a concept language for child education. more>>
Simpla project is a concept language for child education.
Simpla is a basic concept language for use in teaching children and adults with no programming experience or computer knowledge whatsoever.
The intent is to have a language which is capable of many basic scripting language tasks without adding excess complexity.
Still a barely working alpha, and Ive got contributor code to include. Added variable declaration, an improved variable parser (thanks to Richard Nolan for the explanation, and a whole lot of cleanup.
Enhancements:
- 0.02 - remains Alpha.
- Variable declatation now works, parsing of lines works (too well), code reorganization (again)
<<less
Download (0.001MB)
Added: 2006-10-31 License: Artistic License Price:
1089 downloads
Games::Mastermind::Solver 0.02

Games::Mastermind::Solver 0.02


Games::Mastermind::Solver is a Master Mind puzzle solver. more>>
Games::Mastermind::Solver is a Master Mind puzzle solver.

SYNOPSIS

# a trivial Mastermind solver

use Games::Mastermind;
use Games::Mastermind::Solver::BruteForce;

my $player = Games::Mastermind::Solver::BruteForce
->new( Games::Mastermind->new );
my $try;

print join( , @{$player->game->code} ), "nn";

until( $player->won || ++$try > 10 ) {
my( $win, $guess, $result ) = $player->move;

print join( , @$guess ),
,
B x $result->[0], W x $result->[1],
"n";
}

Games::Mastermind::Solver is a base class for Master Mind solvers.

<<less
Download (0.004MB)
Added: 2007-01-03 License: Perl Artistic License Price:
1040 downloads
Streamnik Server 0.02

Streamnik Server 0.02


Streamnik Server project is an IPTV server based on the open codecs Ogg/Vorbis and Ogg/Theora. more>>
Streamnik Server project is an IPTV server based on the open codecs Ogg/Vorbis and Ogg/Theora. It can stream a number of different channels and is optimized to run on leased (virtual) servers. The program schedule is defined by an SQL database table and can be changed at runtime.

<<less
Download (0.12MB)
Added: 2007-06-15 License: GPL (GNU General Public License) Price:
872 downloads
Games::GuessWord 0.15

Games::GuessWord 0.15


Games::GuessWord is a guess the letters in a word (ie Hangman). more>>
Games::GuessWord is a guess the letters in a word (ie Hangman).

SYNOPSIS

use Games::GuessWord;

my $g = Games::GuessWord->new(file => "/path/to/wordlist");
print "Score: " . $g->score . "n";
print "Chances: " . $g->chances . "n";
print "Answer: " . $g->answer . "n";
my @guesses = $g->guesses;
$g->guess("t");
# ...
if ($g->won) {
print "You won!n";
$g->new_word;
}

This module is a simple wrapper around a word guessing game. You have to guess the word by guessing letters in the word, and is otherwise known as Hangman.

<<less
Download (0.004MB)
Added: 2007-01-06 License: Perl Artistic License Price:
1024 downloads
Games::Mastermind 0.03

Games::Mastermind 0.03


Games::Mastermind is a simple framework for MasterMind games. more>>
Games::Mastermind is a simple framework for MasterMind games.

SYNOPSIS

use Games::Mastermind;

# the classic game
$mm = Games::Mastermind->new;

# make a guess
$marks = $game->play(qw( Y C W R ));

# results
print "You win!n" if $marks->[0] == $mm->holes();

# the game history is available at all times
$history = $mm->history();
$last_turn = $mm->history()->[-1];

# reset the game
$mm->reset();

Games::Mastermind is a very simple framework for running Mastermind games.

<<less
Download (0.014MB)
Added: 2007-01-04 License: Perl Artistic License Price:
1024 downloads
Chess::Elo 0.02

Chess::Elo 0.02


Chess::Elo is a Perl module to calculate Chess Elo ratings. more>>
Chess::Elo is a Perl module to calculate Chess "Elo" ratings.

SYNOPSIS

use Chess::Elo qw(:all);

# Alice is going to thump Bob...
my ($alice_elo, $bob_elo) = (2100, 1200);

# Oh no, Alice lost to Bob!
my $result = 0; # 0.5 for draw, 1 for win

my @new_elo_alice_bob = elo ($alice, 0, $bob);
use Data::Dumper; warn Dumper(@new_elo_alice_bob);

[
2068.17894295388, # My, Alice took a hit on her rating :)
1231.82105704612 # Bob is setting pretty
];

This module provides a single function, elo which allows one to calculate individual ratings based on performance. Typically, a player is given an initial provisional rating of 1600 points. In all cases, one gains and loses points as a function of the playing strength of both parties and the result of their encounter.

The formula used is the same one used at magi-nation:

http://www.magi-nation.com/Tournaments/ratingsfaq.htm

Or, quantitatively speaking:

A2 = A1 + 32 ( G - ( 1 / ( 1 + 10 ** ( ( B1 -A1) / 400 ) ) ) )
A2 is Alices post-game rating
A1 is Alice rating before the game against Bob
B1 is Bobs rating before the game against Alice
G is the game result, in this case:

1, if A beats B

0, if A loses to B

0.5, if A draws to B

METHODS

($new_a, $new_b) = elo($elo_a, $result, $elo_b)

This function takes 3 arguments describing the result of a person with rating $elo_a competing with the person with rating $elo_b. The result argument is from the perspective of person A. Thus if A won $result is 1. If A lost, $result is 0. If A drew, $result is 0.5.

EXPORT

None by default, elo upon request.

<<less
Download (0.004MB)
Added: 2007-01-04 License: Perl Artistic License Price:
1025 downloads
Davids Perl Games 0.1.1

Davids Perl Games 0.1.1


Davids Perl Games project is a collection of ASCII graphics arcade style games written in Perl. more>>
Davids Perl Games project is a collection of ASCII graphics arcade style games written in Perl.

These games are recreations of simple ASCII graphics games originally written in BASIC.

They are ideal for use as Perl programming tutorials. Some of the first few games are PerlBlaster (defend your planet from invading aliens), PerlRacer (steer your car through the twisting passages), and PerlArena (eliminate the mutant hordes).

<<less
Download (0.063MB)
Added: 2006-11-16 License: GPL (GNU General Public License) Price:
1076 downloads
XcplayC 0.02

XcplayC 0.02


XcplayC is a text-GUI for XMMS based on xcplay. more>>
XcplayC is an ncurses-based GUI for XMMS, based on xcplay.

It is useful if you wish to control and XMMS process when you dont have access to the X11 GUI.
<<less
Download (0.017MB)
Added: 2005-05-10 License: GPL (GNU General Public License) Price:
1627 downloads
StealIt 0.02

StealIt 0.02


StealIt is a service menu to take ownership on selected file/directory. more>>
StealIt is a service menu to take ownership on selected file/directory.

It is often annoying to have no rights on files created by other users or uploaded with samba or created by apache process.
<<less
Download (MB)
Added: 2006-09-29 License: GPL (GNU General Public License) Price:
1121 downloads
PAR2GUI 0.02

PAR2GUI 0.02


PAR2GUI project provides a GUI to the command line utility PAR2. more>>
PAR2GUI project provides a GUI to the command line utility PAR2. You can Verify , Repair and Create PAR2 files. Its very simple and provides instant user feedback via the intergrated konsole widget.

I have included instructions on the third tab on how to double click a PAR2 file and repair your files without the use of Kommander.

<<less
Download (0.024MB)
Added: 2007-03-04 License: GPL (GNU General Public License) Price:
974 downloads
Games::WoW::PVP 0.01

Games::WoW::PVP 0.01


Games::WoW::PVP is a Perl module with the great new Games::WoW::PVP! more>>
Games::WoW::PVP is a Perl module with the great new Games::WoW::PVP!

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

use Games::WoW::PVP;

my $WoW = Games::WoW::PVP->new();
# looking for a character
my %hash = $WoW->search_player(
{ country => EU, # EU europe US us
realm => conseil des ombres, # name of the realm
faction => h, # h horde a ally
character => raspa, # name of the player
}
);

# looking for top players
my %hash = $WoW->top(
{ country => EUR,
realm => elune,
faction => a,
}
);

<<less
Download (0.004MB)
Added: 2007-01-05 License: Perl Artistic License Price:
1025 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5