Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 31.072.666 Times

Games::Euchre::Player 1.02

  Date Added: February 08, 2010  |  Visits: 998


Report Broken Link
Printer Friendly Version

Product Homepage
Download (89 downloads)

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..

Requirements: No special requirements
Platforms: Linux
Keyword: Ai Bid Card Gameseuchreplayer Instance Libraries Player Player Class Players Programming Return
Users rating: 0/10

License: Freeware Size: 21.5 KB
Libraries  -  DCOP::Amarok::Player 0.036
DCOP::Amarok::Player is a Perl extension to speak to an amaroK player object via systems DCOP. SYNOPSIS use DCOP::Amarok::Player; $player = DCOP::Amarok::Player->new(); $player->playPause(); print $player->getRandom(); This module is a...
4.1 KB  
Audio Tools  -  mmSAP - SAP player for GNU/Linux 3.2.3
mmSAP is SAP (Slight atari player) player based on ASAP library that uses ALSA for audio output and has GTK+ 3.0 based GUI. SAP is a special file format that is used to store POKEY-based Atari XL/XE music. The biggest collection of such music is ASMA
51.2 KB  
Video Players  -  Video player Spruto 1.2.1
Create a free video player for your website! Spruto allows you to build and customize a beautiful video player in minutes. It supports Flash and HTML5 so your videos will play on any device and Spruto is absolutely free! Absolutely free....
417 KB  
Casino Games  -  Penguin Solitaire 1.0
Penguin Solitaire is a Freecell Solitaire card game in which the player attempts to arrange all the cards in the deck in order and by suit into the foundations. Penguin Solitaire is free to download and play, or can be played for free online at...
3.33 MB  
Games  -  7s Classic 3.0.1
"7s Classic" is one of the most popular card games, SEVENS! It's very easy to play and includes a helpful notification. You can play it right now even if you know nothing about it. Just come and play! * 1 Player Mode: 1 Players v.s. 3 AIs...
56.3 MB  
Database Tools  -  SyStats 0.9.9
SyStats, Real-time player ratings and statistics for Return to Castle Wolfenstein (RTCW) and Wolfenstein Enemy Territory (ET).
6.02 MB  
Games  -  7card lite 1.3
7card(Sevens) is Card Game.Japanese,"Shichi Narabe"(7)? The players remove all sevens from their hands to start the layout before the first card is played. Up to three times per game a player may choose to...
6.3 MB  
Games  -  Backgammon Free HD 3.9
Are you the Backgammon enthusiast? Get the totally FREE Backgammon on your iPad NOW!! Backgammon Free supports you to play against your friends or AI computer or compete against the nearby player by Blutooth. The beautiful graphics will...
15.3 MB  
Games  -  Deck'o'Cards - Free
Deck'o'Cards is a multi-player card game. Pit your skills against other players from all over the world. Currently there are 3 games available to play but we intend to add more soon: Hearts - Normal (Ends at 100 points) Hearts -...
2 MB  
Sports  -  IPL dhamaka
Cricket card game is played between two players. This application consists of cricket cards describing the career details of some famous cricket players. Each player has to select one card among these. , then the player having higher score will...
2 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.13.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB