Main > Free Download Search >

Free euchre 1.02 software for linux

euchre 1.02

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 111
Games::Euchre 1.02

Games::Euchre 1.02


Games::Euchre is an Euchre card game for humans and computers. more>>
Games::Euchre is an Euchre card game for humans and computers.

SYNOPSIS

Simply run my game wrapper:

% euchre.pl

or write your own:

use Games::Euchre;
use Games::Euchre::AI::Simple;
use Games::Euchre::AI::Human;

my $game = Games::Euchre->new();
foreach my $i (1..3) {
$game->setAI($i, Games::Euchre::AI::Simple->new());
}
$game->setAI(4, Games::Euchre::AI::Human->new());
$game->playGame();
my @scores = sort {$b $a} $game->getScores();
print("The winner is " . $game->getWinner()->getName() . " with a score of " .
"$scores[0] to $scores[1]n");

This software implements the card game of Euchre. The game is played with four players composing two teams. Any of the four players can be human or computer players, but more than one human is not well supported yet.

The Games::Euchre::AI module implements a simple framework for adding new classes of human interfaces or computer opponents. I recomment that AI writers use Games::Euchre::AI::Simple (a REALLY dumb computer opponent) as starting point.
Aside from the ::AI class and its descendents, this package also implements the following classes: Games::Euchre::Team, Games::Euchre::Player and Games::Euchre::Trick.

<<less
Download (0.021MB)
Added: 2007-01-03 License: GPL (GNU General Public License) Price:
1034 downloads
Euchre 0.7

Euchre 0.7


Euchre project is an Euchre game. more>>
Euchre project is an Euchre game.
Euchre is a spades or bridge-like card game played with four players (3 computer players and 1 human).
The game is played via a GTK+ interface and allows customization of the computer skill level, aggression level, and many of the other game parameters. There are three levels of AI skill (easy, medium, and hard).
The medium and hard levels are good enough to give you a decent challenge.
Enhancements:
- Fixed bug where pass markers are not cleared after an all-pass event (thanks to an unknown euchre lover on sourceforge...)
- Added previous tricks dialog and the view menu items to access it
<<less
Download (0.38MB)
Added: 2006-11-10 License: GPL (GNU General Public License) Price:
1084 downloads
Games::Euchre::AI 1.02

Games::Euchre::AI 1.02


Games::Euchre::AI is a Player API for Euchre card game. more>>
Games::Euchre::AI is a Player API for Euchre card game.

This class implements a skeletal Euchre player programming interface. Subclasses can be created quite easily as interactive interfaces or AI computer players.
If you wish to write your own computer player, I recommend you start with Games::Euchre::AI::Simple. If you wish to write your own human interface, I recommend you start with Games::Euchre::AI::Human.

CLASS METHODS

new

Create and initialize a new Euchre AI. This object is implemented as an empty hash. Subclasses may wish to use this hash for state storage.

INSTANCE METHODS

Actions

The following methods are called in the course of the game where the AI (or human) has to make a decision. The state of the game is always passed in a hashreference. The following fields are always available:

name is the name of the current player. This is useful for output messages.
names is a hash relating player number to player name for all four players.
debug is a boolean indicating if we are debugging game or the AIs. Your AI may wish to provide verbose output if debugging is going on.

bid STATEHASH

Choose trump or pass. The relevent details of the current state of the game are provided in a hash reference. Here is an example of that data structure:

{
name => Player 1,
names => {1 => Player 1, 2 => P2, 3 => P3, 4 => Fred},
number => 1,
turnedUp => KH,
passes => 1,
ourScore => 2,
theirScore => 4,
winScore => 10,
hangdealer => false,
notrump => false,
hand => [JS, QH, 9S, KC, AD],
debug => false,
}

turnedUp is the suit and value of the card on the top of the blind. This will be undef on the second round of bidding.

passes says how many people have passed so far
hangdealer is a boolean saying whether the hang-the-dealer optional rule is in effect

notrump is a boolean saying whether the no trump optional rule is in effect
This function must return one of: H, D, C, S, N, HA, DA, CA, SA, NA, or undef
N means no trump, A means alone, undef means pass. Not all of these are legal at any given round! Use the isLegalBid() method below if you are unsure.

pickItUp STATEHASH

If this is called, you are the dealer and someone called trump. Choose which card from your hand to discard in exchange for the top card of the blind. The relevent details of the current state of the game are provided in a hash reference. Here is an example of that data structure:

{
name => Player 1,
names => {1 => Player 1, 2 => P2, 3 => P3, 4 => Fred},
number => 1,
turnedUp => KH,
trump => H,
bidder => 2,
weBid => false,
usAlone => false,
themAlone => false,
hand => [JS, QH, 9S, KC, AD],
debug => false,
}

This method should return the 0-based index of the card to trade for the turnedUp card. Namely, this in the index of the hand array for the card that you choose.

playCard STATEHASH

Choose which card from your hand to play on this trick. The relevent details of the current state of the game are provided in a hash reference. Here is an example of that data structure:

{
name => Player 1,
names => {1 => Player 1, 2 => P2, 3 => P3, 4 => Fred},
number => 1,
trump => H,
bidder => 2,
weBid => true,
usAlone => false,
themAlone => false,
trick => 2,
ourTricks => 0,
theirTricks => 1,
ourScore => 2,
theirScore => 4,
winScore => 10,
played => [10H, 9H, QC],
playedBy => [2, 3, 4, 1],
hand => [JH, AH, AS, KS],
debug => false,
}

playedBy is an arrayref of numbers of the players in the order they will play. Without this, the alone possibility makes it hard to tell who played what.

Any needed information not stored here (like who was the dealer, what was the turn-up card, what happened in the first trick) is YOUR responsibility to collect and store in your instance.

This method should return the 0-based index of the card to play. Namely, this in the index of the hand array for the card that you choose.

<<less
Download (0.021MB)
Added: 2006-12-26 License: Perl Artistic License Price:
1034 downloads
Games::Euchre::Trick 1.02

Games::Euchre::Trick 1.02


Games::Euchre::Trick is a trick class for Euchre card game. more>>
Games::Euchre::Trick is a trick class for Euchre card game.

Only one Trick instance is alive at one time per Euchre game. The Trick keeps track of which cards have been played, and provides useful functions to determine which cards are legal plays, as well as who is the winner of the trick.

The trick class makes the determination of which card beats which card, given the current trump and lead. The trick class knows how to handle an alone hand and it calls the playCard() method for each player in turn in its play() method, usually called from the Games::Euchre->playHand() method.

<<less
Download (0.021MB)
Added: 2007-01-02 License: Perl Artistic License Price:
1026 downloads
Games::Euchre::Player 1.02

Games::Euchre::Player 1.02


Games::Euchre::Player is a player class for Euchre card game. more>>
Games::Euchre::Player is a player class for Euchre card game.

The four Player objects are used to interact with the humand and computer players, as well as to keep the state of the players hand, whether he bid and whether he went alone.

CLASS METHODS

new GAME NUMBER NAME
Create and initialize a new Euchre player. The number is 1-4.

INSTANCE METHODS

getGame

Return the Euchre game instance to which this player belongs.

setTeam TEAM

Record the Team instance that this player belongs to.

getTeam

Return the Team instance to which this player belongs.

setAI AI

Record the AI instance for this player.

getAI

Return the AI instance for this player.

setAlone

Indicate that this player has chosen to go alone in the current hand.

setBid

Indicate that this player has chosen to choose trump in the current hand.

wentAlone

Returns a boolean indicating whether this player chose to go alone on a bid.

isBidder

Returns a boolean indicating whether this player called the trump suit during bidding.

getName

Return this players name

getNumber

Return this players number, between 1 and 4

getHand

Return the Games::Cards::Hand object representing this players current hand.

getCards

Return an array of the Games::Cards::Card objects held in the players hand.

resetGame

Clear all of the state for the current game and get ready for the next one.

resetHand

Clear all of the state for the current hand and get ready for the next one.

bid TURN

Allow the player to choose trump or pass. Returns one of: H, C, D, S, N, HA, CA, DA, SA, NA, or undef. If the player has an AI instance set, that is invoked. Otherwise a pathetically simple AI decides the bid.

pickItUp

Allow the player, as dealer, to select which card to trade for the turned up card. This method performs the actual trade. If the player has an AI instance set, that is invoked. Otherwise a pathetically simple AI chooses the card.

playCard TRICK

Allow the player to select which card to play on the current trick. This method performs the actual play. If the player has an AI instance set, that is invoked. Otherwise a pathetically simple AI chooses the card.

isLegalBid TURNNUMBER BID

Given a bid, return a boolean indicating the validity of that bid. The bid is tested for structure (one of H, C, D, S, N, HA, CA, DA, SA, NA, or undef), tested against the bidding round (only the turned-up card suit can be called in round 1 , and may not be called in round 2), against the game options (hang-the-dealer, no-trump).
This is called from the bid() method.

<<less
Download (0.021MB)
Added: 2006-12-21 License: Perl Artistic License Price:
1038 downloads
Rocket 1.02

Rocket 1.02


Rocket is a game where you try to land a rocket on a moving platform. more>>
Rocket project is a game where you try to land a rocket on a moving platform.

Running Rocket:

- Unzip the archive into its own directory.
- cd to the directory.
# perl rocket.pl

You fly the rocket with the left, right, and down keys.

Other keys:

- pause
- exit
- new game
- God mode?

<<less
Download (0.043MB)
Added: 2006-12-11 License: Perl Artistic License Price:
1052 downloads
scurvy 1.02

scurvy 1.02


scurvy converts a simple text format to proper screenplay format. more>>
The name scurvy comes from "screen/script" and "vi/vim"

Its a tool that lets you easily write screenplays or scripts in a simple text format, then scurvy will output them in the proper screenplay format.

Scurvy can also import some RTF and Final Draft formats, as well as outputting/converting to a variety of formats as well.

Finally, Ive included some vim syntax files to do coloring of the scurvy input and formal screenplay format.

<<less
Download (0.01MB)
Added: 2006-08-31 License: Free for non-commercial use Price:
1151 downloads
Scalar 1.02

Scalar 1.02


Scalar is an addictive cross-platform puzzle game written in C++ using SDL library. more>>
Scalar is an addictive cross-platform puzzle game written in C++ using SDL library.

The goal of the game is to assemble the picture from pieces. Each picture is divided into pieces which are shuffled. You need to get each piece back to its original position. You accomplish that by swapping pieces (exchanging their positions).

You have a limited number of swappings for each picture. The game is over when you complete 3 images, and for each one you get the points. If you have a hard time playing this, you can look at the images directory and see what the final picture looks like.

Feel free to add more pictures to images directory and play with them (images can be in .jpg, .gif, .png, .bmp, any many other formats).

<<less
Download (2.6MB)
Added: 2005-08-11 License: GPL (GNU General Public License) Price:
1534 downloads
iPup 1.02

iPup 1.02


iPup is a simplified build of Puppy Linux for use in institutional settings. more>>
iPup is a simplified build of Puppy Linux for use in institutional settings. iPups applications are limited to those typically used in libraries and schools. iPup comes with AbiWord, Firefox, gFTP and mtPaint.

The purpose behind building iPup has been to create a puplet (custom build of Puppy) that is easy for novice users to understand (at least when it comes to getting on the Internet or typing a paper), but not too user friendly when it comes to things like mounting flash drives, CD-ROMs and the like.

Instant messaging, CD ripping software and media players have not been included. Having said this, most, but not all, of the library files found in the standard version of Puppy have also been included in iPup. This allows you to add software with minimal headache.

MD5: 06635cd572deab1a02d764bdf2192281
<<less
Download (55.8MB)
Added: 2006-11-27 License: GPL (GNU General Public License) Price:
1078 downloads
ummf 1.02

ummf 1.02


ummf Perl module contains a driver for UMMF. more>>
ummf Perl module contains a driver for UMMF.

SYNOPSIS

ummf [-I dir] [-M MetaModel] [-m Main::Module] [-o {dir|-}] [-e exporter] input ...

This is a driver for the UMMF toolkit. It translates UML input documents into the export targets specified by the -e option. If -o - is specified the output is generated to STDOUT, otherwise the output is multiplexed into files underneath the directory specified by the -o option, using files2dirs.

If input is UML-1.5, then the internal UML 1.5 meta-model (from UMMF::UML::MetaModel) is used as input.

Input files can be .zargo (ArgoUML and Poseidon for UML 1.x), .zuml (Poseidon for UML 2.x) or XMI 1.0 or 1.2 documents.

USAGE

ummf -e java -e perl -o gen test/test1.xmi

Generates Java and Perl code in directory gen from test/test1.xmi.

ummf -e perl::hibernate -o gen test/test2.zargo

Generates Java Hibernate hbn.xml file in directory gen from test/test2.zargo.

ummf -e XMI -o - UML-1.5

Generates XMI for the UML 1.5 meta-model on the standard output stream.

ummf --perl5lib

Print the PERL5LIB path needed for Perl code generated by UMMF.

ummf -L Some::Package

Loads Some::Package.

ummf -m Some::Package @args ...

Loads Some::Package and executes >.

ummf -I dir/with/perl/modules

Executes use lib dir/with/perl/modules; including modules from the specified directory in the search path.

ummf -M UMMF::Boot::MetaModel

Uses UMMF::Boot::MetaModel for the meta-model, defaults to UMMF::UML_1_5.

ummf -profile MyMagicProfile -e Perl UML-1.5

Applies MyMagicProfile during export of Perl code on the UML 1.5 meta-model. This overides the default lib/ummf/profile/UML-1.5.ummfprofile file.

<<less
Download (0.67MB)
Added: 2007-06-07 License: Perl Artistic License Price:
871 downloads
RwdSchedule 1.02

RwdSchedule 1.02


RwdSchedule is an event database program using RubyWebDialogs. more>>
RwdSchedule is an event database program using RubyWebDialogs.
It can list events, store events, and edit, rename, and delete events.
FTP can be used to sync events with multiple systems.
ICS files can be created. Context help is sent on some screens. It should run without changes on all platforms.
It is an rwdtinker program and can take additional plugins.
Enhancements:
- changed schedule configuration screen
- updated for rwdtinker 1.66
- new helpabout
- new documents list
<<less
Download (0.12MB)
Added: 2006-09-27 License: GPL (GNU General Public License) Price:
1122 downloads
Test::Resub 1.02

Test::Resub 1.02


Test::Resub is a lexically scoped subroutine replacement for testing. more>>
Test::Resub is a lexically scoped subroutine replacement for testing.

SYNOPSIS

#!/usr/bin/perl

use Test::More tests => 4;
use Test::Resub qw(resub);

{
package Somewhere;
sub show {
my ($class, $message) = @_;
return "$class, $message";
}
}

# sanity
is( Somewhere->show(beyond the sea), Somewhere, beyond the sea );

# scoped replacement of subroutine with argument capturing
{
my $rs = resub Somewhere::show, sub { hi }, capture => 1;
is( Somewhere->show(over the rainbow), hi );
is_deeply( $rs->method_args, [[over the rainbow]] );
}

# scope ends, resub goes away, original code returns
is( Somewhere->show(waiting for me), Somewhere, waiting for me );

This module allows you to temporarily replace a subroutine/method with arbitrary code. Later, you can tell how many times was it called and with what arguments each time. You can also specify that the subroutine/method must get called, must not get called, or may be optionally called.

<<less
Download (0.014MB)
Added: 2007-07-13 License: Perl Artistic License Price:
833 downloads
xDash 1.02

xDash 1.02


xDash is a framework for application integration (EAI). more>>
xDash is a framework for application integration (EAI). xDash is using XMPP/jabber as the communication protocol and a set of agents. All the needed stuff is automatically generated from a CSV file, which can be comfortably edited in a spreadsheet editor.
xDash can be classified in marketing terms as:
- an Enterprise Application Integration (EAI) solution or
- an Enterprise Service Bus (ESB).
xDash is based on the concept of convergence between backend asynchronous messaging (like IBM MQSeries or JMS) and instant messaging (like IRC or Jabber).
Main features:
- You have to manage a fast integration project with little time and low budget;
- You are convinced, that integration has so many faces, that agile approach and flexible design are better than buying a "silver bullet" from big names;
- You are convinced, that integration is rather a continuous, never-ending process than a single act of some software implementation;
- You would like to concentrate on writing the integration logic in a well known environment and have no time to learn myriads of new options and APIs with little reuse;
- You need an open human readable communication protocol (XML), where you can see what is going on under the hood;
- You need a free open source multiplatform information bus for publish/subscribe integration;
- You are interested in a ground-breaking project dealing with the convergence of instant and backend asynchronous messaging.
What is the core of the xDash?
xDash is at basis every sort of an integration project, which sticks to the following rules:
- Communication over Jabber protocol;
- The extension of the message type to type=job for all relevant messages;
- The message sending schema, in which always participate a message sender, a message receiver and a message archivist ("integration chain").
- For each sort of event, triggering a Sender, there is only one integration chain defined on the server by a set of Jabber IDs and forwarding rules ("Who knows whom" schema).
- The client software of Sender and Receiver knows nobody but the Archivist.
- The jabber server forwards Senders messages sent to the Archivist, additionally to the Receivers.
<<less
Download (0.061MB)
Added: 2006-03-08 License: The Apache License 2.0 Price:
1325 downloads
Email::AutoReply 1.02

Email::AutoReply 1.02


Email::AutoReply is a Perl extension for writing email autoresponders. more>>
Email::AutoReply is a Perl extension for writing email autoresponders.

SYNOPSIS

use Email::AutoReply;
my $auto = Email::AutoReply->new;
$auto->reply;

This module may be useful in writing autoresponders. The example code above will try to respond (using Sendmail) to an email message given as standard input.

The module will reply once to each email address it sees, storing sent-to addresses in a database. This database class is Email::AutoReply::DB::BerkeleyDB by default, but any class that implements Email::AutoReply::DB may be used.

<<less
Download (0.015MB)
Added: 2007-04-19 License: Perl Artistic License Price:
927 downloads
openflash 1.02

openflash 1.02


openflash is an open source utility to (re)program flash BIOS chips. more>>
openflash is an open source utility to (re)program flash BIOS chips. Initial support will be for the i-opener network appliance under Qnx since there is an immediate need.
Usage: qnxflash [-r < file >] [-w < file >] [-v < file >] [-iadlcV]
-r Read bios image from chip.
-w Write bios image to chip.
-v Verify chip data against image file.
-i display bios chips device Id.
-a report All verify errors.
-d Disable verify while programming.
-l List supported devices.
-c disable device id Check.
-V Verbose messages
Enhancements:
- Modifications to correct failures to exit Device ID mode on V4 Iopeners using RISE CPU. This problem was reported as an erase failure in 1.01.
- Changed the method used to exit Device mode from the one step method to the three step.
- Added code to check that Device ID mode was exited successfully. If the first attempt fails an additional 9 attempts will be made before giving up.
- Corrected a bug in WaitFlashComplete() which prevented timeout errors from being detected.
- Doubled the loop count in WaitFlashComplete().
- Added the -V switch to enable verbose error and status messages.
- Added -c switch to allow Device ID checks to be disabled.
<<less
Download (0.029MB)
Added: 2007-06-18 License: GPL (GNU General Public License) Price:
862 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5