Main > Free Download Search >

Free chess perl software for linux

chess perl

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 4377
ChessY! 1.0

ChessY! 1.0


ChessY! project allows you to visually review the game histories from Yahoo! online chess. more>>
ChessY! project allows you to visually review the game histories from Yahoo! online chess.

You can email to yourself at the end of a Yahoo! online chess game.

<<less
Download (0.065MB)
Added: 2006-11-30 License: GPL (GNU General Public License) Price:
1058 downloads
mChess 0.11

mChess 0.11


mChess is a simple cross-platform email chess program. more>>
mChess is a simple cross-platform email chess program.

The aim is to be able to play chess with your friends via email using a nice user interface without having a chess board standing in your living room for weeks.

<<less
Download (0.44MB)
Added: 2007-05-27 License: Perl Artistic License Price:
884 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
IRC-Chess 0.1

IRC-Chess 0.1


IRC-Chess project is a 2-player chess game for IRC which turns a computer into an IRC chess bot. more>>
IRC-Chess project is a 2-player chess game for IRC which turns a computer into an IRC chess bot.

It consists of a Java chess server, with frontend scripts to convert an IRC client into a chess bot. Players then communicate with the bot using standard IRC commands, and dont require any special software to play.

Frontend scripts are available for IRSSI and X-Chat.

The client is merely responsible for interpreting this data and displaying it. In this way, porting the system to a variety of IRC clients is very simple, since
the client script will be short, and effectively contain no code specific to the game being played.

In other words, the Java part is smart. The script is dumb and is just there to make things look pretty.

This idea works. Currently, client scripts have been designed for RSSI and XChat. Since both these programs use Perl for scripting, the scripts are practically identical, with a few client specific modifications.

Porting this script to other IRC clients shouldnt be too much of a hassle, since its just the frontend thats ported, not the chess game itself. Anyone wanting to create frontend scripts for other IRC clients, please feel free to do so.

The PROTOCOL file describes exactly what needs to be done.

<<less
Download (0.059MB)
Added: 2006-11-21 License: GPL (GNU General Public License) Price:
1075 downloads
PicoChess 0.1

PicoChess 0.1


PicoChess project is a small chess program. more>>
PicoChess project is a small chess program.

PicoChess will support one and two player games, as well as playing against itself. It can also load and save games, and export transcripts of games.

<<less
Download (0.11MB)
Added: 2006-11-27 License: GPL (GNU General Public License) Price:
1061 downloads
ChessTask 2.0

ChessTask 2.0


ChessTask project is a tool for generating chess tasks. more>>
ChessTask project is a tool for generating chess tasks.

ChessTask is a frontend for easily creating chess tasks with LaTeX. The tasks are stored in a list which can be exported, either into a LaTeX input file, or into HTML files.

<<less
Download (1.5MB)
Added: 2006-12-04 License: GPL (GNU General Public License) Price:
1054 downloads
GNU Chess 5.07

GNU Chess 5.07


GNU Chess project is a computer program which plays the Game of Chess. more>>
GNU Chess project is a computer program which plays the Game of Chess.
GNU Chess lets most modern computers play a full game of chess.
It has a plain terminal interface but supports visual interfaces such as X-Windows "xboard" and Windows-for-PC "winboard" as well as a full 3-dimensional wooden chess-board protocol for the Novag Chess board enabling one to be relatively free of the computer itself.
Enhancements:
- Minor ScoreDev code tidy
- ensure gnuchessx included in EXTRA_DIST
- Fix to Posix thread for readline
- Fix to ensure "HARD" is default
- Improve Posix thread handling
- Portability fix IsTrustedPlayer
- Portability fix to lexpgn.l
- Changes to lexpgn.l to handle some special cases
- Fix trailing "/" in FEN causes buffer overflow issues.
- Portability fix to lexpgn.l
<<less
Download (0.22MB)
Added: 2006-11-06 License: GPL (GNU General Public License) Price:
641 downloads
Chess::PGN::Filter 0.13

Chess::PGN::Filter 0.13


Chess::PGN::Filter is a Perl extension for converting PGN files to other formats. more>>
Chess::PGN::Filter is a Perl extension for converting PGN files to other formats.

SYNOPSIS

use Chess::PGN::Filter;

filter(source => $pgn,filtertype => XML);
OR
my %substitutions = (
hsmyers => Myers, Hugh S (ID),
);

my @exclude = qw(
WhiteElo
BlackElo
EventDate
);

filter(
source => $pgn,
filtertype => TEXT,
substitutions => %substitutions,
nags => yes,
exclude => @exclude,
);
OR
filter(
source => $pgn,
filtertype => DOM,
);
OR
$dom = filter(
source => $pgn,
filtertype => DOM,
verbose => 0,
);

This is a typical text in one side, different text out the otherside filter module. There are as of this writing, the following supported choices:

1. XML -- Converts from .pgn to .xml using the included pgn.dtd as the validation document. This is for the most part a one to one transliteration of the PGN standard into XMLese. It does have the additional virtue of allowing positions to be encoded within the XML output. These are generated by an embedded NAG of {0} and automatically (user controlled) at the end of each game. As a kind of adjunct to the position diagrams, pgn.dtd optionally allows each move to include its FEN string. This allows scripted animation for web pages generated this information.
2. TEXT -- Although the PGN standard is widely available, many program that generate .pgn do so in an ill-formed way. This mode is an attempt to normalize away the various flaws found in the wild! This includes things like game text all on a single line without a preceding blank line. Or castling indicated with zeros rather than the letter O. There is at least one application that carefully indents the first move! The list of oddities is probably as long as the list of applications.
3. DOM -- A Document Object Model (DOM) makes for a very convenient interim form, common to all other filter types. Useful in both the design and debugging phases of filter construction. By way of self-documentation, here is an example of a single game that shows all of the obvious features of the DOM:

$VAR1 = {
Tags => {
Site => Boise (ID),
Event => Cabin Fever Open,
Round => 1,
ECO => ?,
Date => 1997.??.??,
White => Barrett Curtis,
Black => Myers Hugh S,
Result => 1-0
},
Gametext => [
{
Movenumber => 1,
Epd => rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3,
Movetext => e4
},
{
Movenumber => 2,
Epd => rnbqkbnr/ppp1pppp/8/3p4/4P3/8/PPPP1PPP/RNBQKBNR w KQkq d6,
Movetext => d5
},
{
Movenumber => 3,
Epd => rnbqkbnr/ppp1pppp/8/3pP3/8/8/PPPP1PPP/RNBQKBNR b KQkq -,
Movetext => e5
},
{
Movenumber => 4,
Comment => Playing ...Bf5 before closing the c8-h3 diagonal has some positive features.,
Epd => rnbqkbnr/ppp2ppp/4p3/3pP3/8/8/PPPP1PPP/RNBQKBNR w KQkq -,
Movetext => e6
},
{
Movenumber => 5,
Epd => rnbqkbnr/ppp2ppp/4p3/3pP3/3P4/8/PPP2PPP/RNBQKBNR b KQkq d3,
Movetext => d4
},
{
Movenumber => 6,
Comment => Time to think like a Frenchie - c7-c5!,
Epd => r1bqkbnr/ppp2ppp/2n1p3/3pP3/3P4/8/PPP2PPP/RNBQKBNR w KQkq -,
Movetext => Nc6,
Rav => [
{
Movenumber => 6,
Epd => rnbqkbnr/pp3ppp/4p3/2ppP3/3P4/8/PPP2PPP/RNBQKBNR w KQkq c6,
Movetext => c5
}
]
},
.
.
.
{
Movenumber => 29,
Comment => (Bxe5) Black could still kick for a while if he had played ...Bxe5.,
Epd => r1bq1rk1/2p1npb1/2n1p2P/pp1pP1p1/3P2P1/2P4Q/PP2BP2/RNB1K2R b KQ -,
Movetext => h6
}
]
};

<<less
Download (0.018MB)
Added: 2007-08-01 License: Perl Artistic License Price:
814 downloads
Tonic Chess bridge4

Tonic Chess bridge4


Tonic Chess project is an online chess software. more>>
Tonic Chess project is an online chess software.

Tonic is a graphical interface for playing online chess. It is based on Jin.

From now on Tonic is really open source software (and free as in libre as well) - I managed (I had some problems last time I tried) to import source to cvs sourceforge repository. It is a bridge2 release source with few little modifications. You can read how to get it from cvs here. If you are impatient pastenenter in console:

cvs -d:pserver:anonymous@tonic-chess.cvs.sourceforge.net:/cvsroot/tonic-chess login

When prompted for password just hit enter. And then:

cvs -z3 -d:pserver:anonymous@tonic-chess.cvs.sourceforge.net:/cvsroot/tonic-chess co -P tonic

You should see a list of files downloaded from cvs repository. If you are a non-console user (i.e. Windows or Mac user) I recommend visiting this site. I myself use Linux for development. And Netbeans sometimes as you could figure out from examining the contents of tonic directory. So, enjoy the opensourceness of Tonic!

I uploaded new screenshot to Tonic project site. It is Tonic in Aero GTK engine tuxedo. Quite a peculiar engine imo, but you can use other GTK engines if you run Tonic in Java 6 aka Mustang (you know you can get it from here, dont you?) I test Tonic with Mustang and Ive problems with tray icon. After some searching Ive realized why Tonic crashed under Java 6 - the problem was tray.jar plugin and its dependencies - tray.so or tray.dll, so if you want to run Tonic on Java 6 move them away from theirs directory. Ive written a class for tray icon using new desktop API from Mustang, but it doesnt work as expected in KDE (tray icon is invisible) ; GNOME is better, but I have to work on the popup menu. Well, what could I say? Mustang is in beta stage, but it has some goodies to wait for (early splashscreen, access to tab component, ...).

<<less
Download (5.0MB)
Added: 2007-01-15 License: GPL (GNU General Public License) Price:
1013 downloads
LibCVS Perl 1.00.02

LibCVS Perl 1.00.02


LibCVS Perl simplifies the job of writing tools around CVS by providing Perl libraries. more>>
LibCVS Perl simplifies the job of writing tools around CVS by providing Perl libraries that programmers can access directly in their code.
Its current focus is libraries that use the cvsclient protocol to talk to a CVS server and are targetted at the development of client applications.
Libraries that understand the RCS file format and provide fast server-side access are a future possibility.
Enhancements:
- The ability to apply tags is now included.
- A new script, lcvs-tagbase, is included to apply a base tag to existing branches.
<<less
Download (0.085MB)
Added: 2005-10-12 License: GPL (GNU General Public License) Price:
1473 downloads
Five Chess 1.05

Five Chess 1.05


Five Chess is a connect-five board game. more>>
Five Chess is a connect-five board game. Five Chess is released under the terms of GNU General Public License version 2.
It was initially developed from a qt Tic-Tac-Toe example.
Main features:
- 4 ways to play -- Human vs Human, AI vs Human, Human vs AI, AI vs AI
- 6 board sizes available -- 9X9 to 19X19
- Save Played games
- View played games
- Not so smart AI
<<less
Download (0.033MB)
Added: 2007-02-23 License: Freeware Price:
1064 downloads
Code::Perl 0.03

Code::Perl 0.03


Code::Perl is a Perl module to produce Perl code from a tree. more>>
Code::Perl is a Perl module to produce Perl code from a tree.

SYNOPSIS

use Code::Perl::Expr qw( :easy );

my $c = derefh(scal(hash), calls(getkey));

print $c->perl; # ($hash)->{getkey()}

Code::Perl allows you to build chunks of Perl code as a tree and then when youre finished building, the tree can output the Perl code. This is useful if you have built your own mini-language and you want to generate Perl from it. Rather than generating the Perl at parse time and having to worry about quoting, escaping, parenthese etc, you can just build a tree using Code::Perl and then dump out the correct Perl at the end.

<<less
Download (0.017MB)
Added: 2006-10-05 License: Perl Artistic License Price:
1127 downloads
Chess::FIDE::Player 1.00

Chess::FIDE::Player 1.00


Chess::FIDE::Player is a Perl module to parse player data from FIDE Rating List. more>>
Chess::FIDE::Player is a Perl module to parse player data from FIDE Rating List.

SYNOPSIS

use Chess::FIDE::Player qw(@FIDE_field);
my $player = Chess::FIDE::Player->new(%param);
print $player->id() . "n";
$player->value(field);

Chess::FIDE::Player - Parse player data from FIDE Rating List. FIDE is the International Chess Federation that every quarter of the year releases a list of its rated members. The list contains about fifty thousand entries. This module provides means of translation of every entry into a perl object containing all the fields.

Constructor

$player = Chess::FIDE::Player->new(%param);

The constructor creates a hash reference, blesses it and fills it with parameters passed in %param. The parameters should be fields corresponding to @FIDE_field (see section EXPORT). If a field is not defined, a default value contained in %init is used, and if it is the id field, the next default id is increased by one.

value

$player->value(field); $player->value(field,$value);

First one retrieves a field in the $player object. If the field is not valid (i.e. not contained in @FIDE_field, an undef is returned. Second one sets the field to $value, and again in case of an invalid field undef is returned. Otherwise the new value of the field is returned.

EXPORT

@FIDE_field

- array of valid fields for the Player object.

<<less
Download (1.1MB)
Added: 2006-12-21 License: Perl Artistic License Price:
1038 downloads
Ruby Chess 1.0.0

Ruby Chess 1.0.0


Ruby Chess is a chess game implemented in Ruby using GTK2. more>>
Ruby Chess is a chess game implemented in Ruby using GTK2. Ruby Chess project has a good artificial intelligence that is heuristic-based and stochastic.

<<less
Download (0.020MB)
Added: 2006-12-27 License: GPL (GNU General Public License) Price:
1035 downloads
Chess::PGN::EPD 0.21

Chess::PGN::EPD 0.21


Chess::PGN::EPD is a Perl extension to produce and manipulate EPD text. more>>
Chess::PGN::EPD is a Perl extension to produce and manipulate EPD text.

SYNOPSIS

#!/usr/bin/perl
#
#
use warnings;
use strict;
use Chess::PGN::Parse;
use Chess::PGN::EPD;

if ($ARGV[0]) {
my $pgn = new Chess::PGN::Parse($ARGV[0]) or die "Cant open $ARGV[0]: $!n";
while ($pgn->read_game()) {
$pgn->parse_game();
print join ( "n", epdlist( @{$pgn->moves()} ) ), "nn";
}
}
OR
#!/usr/bin/perl
#
#
use warnings;
use strict;
use Chess::PGN::EPD;

my $position = rnbqkb1r/ppp1pppp/5n2/3P4/8/8/PPPP1PPP/RNBQKBNR w KQkq -;
print join("n",epdstr(epd => $position,type => latex));
OR
#!/usr/bin/perl
#
#
use strict;
use warnings;
use Chess::PGN::Parse;
use Chess::PGN::EPD;

if ($ARGV[0]) {
my $pgn = new Chess::PGN::Parse($ARGV[0]) or die "Cant open $ARGV[0]: $!n";
while ($pgn->read_game()) {
my @epd;

$pgn->parse_game();
@epd = reverse epdlist( @{$pgn->moves()} );
print [ECO,",epdcode(ECO,@epd),""]n";
print [NIC,",epdcode(NIC,@epd),""]n";
print [Opening,",epdcode(Opening,@epd),""]n";
}
}

<<less
Download (0.16MB)
Added: 2007-08-15 License: Perl Artistic License Price:
803 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5