chess game 0.6.0
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2197
3D Python OpenGL Chess Game 1.0
3D Python OpenGL Chess Game project is a 3D chess game in Python with OpenGL. more>>
3D Python OpenGL Chess Game project is a 3D chess game in Python with OpenGL.
3D Python OpenGL Chess Game is a normal chess game that has no computer player (yet). You can play against a friend on your PC.
<<less3D Python OpenGL Chess Game is a normal chess game that has no computer player (yet). You can play against a friend on your PC.
Download (0.013MB)
Added: 2007-01-11 License: GPL (GNU General Public License) Price:
1021 downloads
Chess::Game 0.6.0
Chess::Game is a class to record and validate the moves of a game of chess. more>>
Chess::Game is a class to record and validate the moves of a game of chess.
SYNOPSIS
use Chess::Game;
$game = Chess::Game->new();
$clone = $game->clone();
$move = $game->make_move("e2", "e4");
$move_c = $clone->make_move("e2", "e4");
$true = ($move->get_piece() ne $move_c->get_piece());
$move = $game->delete_move();
...
while (!defined($result = $game->result())) {
# get a move
$move = $game->make_move($sq1, $sq2);
if (!defined($move)) {
print $game->get_message();
}
}
if ($result == 1) {
print "White wins!n";
}
elsif ($result == 0) {
print "Draw!n"
}
else {
print "Black wins!n";
}
The Chess module provides a framework for writing chess programs with Perl. This class forms part of that framework, providing move validation for all moves recorded using the Chess::Game class. The Game contains a Chess::Board, 32 Chess::Pieces and a Chess::Game::MoveList that contains a series of Chess::Game::MoveListEntrys that record the exact state of the game as it progresses. Moves can be taken back one-at-a-time to allow for simple movelist manipulation.
<<lessSYNOPSIS
use Chess::Game;
$game = Chess::Game->new();
$clone = $game->clone();
$move = $game->make_move("e2", "e4");
$move_c = $clone->make_move("e2", "e4");
$true = ($move->get_piece() ne $move_c->get_piece());
$move = $game->delete_move();
...
while (!defined($result = $game->result())) {
# get a move
$move = $game->make_move($sq1, $sq2);
if (!defined($move)) {
print $game->get_message();
}
}
if ($result == 1) {
print "White wins!n";
}
elsif ($result == 0) {
print "Draw!n"
}
else {
print "Black wins!n";
}
The Chess module provides a framework for writing chess programs with Perl. This class forms part of that framework, providing move validation for all moves recorded using the Chess::Game class. The Game contains a Chess::Board, 32 Chess::Pieces and a Chess::Game::MoveList that contains a series of Chess::Game::MoveListEntrys that record the exact state of the game as it progresses. Moves can be taken back one-at-a-time to allow for simple movelist manipulation.
Download (0.021MB)
Added: 2006-12-28 License: Perl Artistic License Price:
1039 downloads
Chess::Game::MoveList 0.6.0
Chess::Game::MoveList is a specialized list class for recording the moves of a Chess::Game. more>>
Chess::Game::MoveList is a specialized list class for recording the moves of a Chess::Game.
SYNOPSIS
$movelist = Chess::Game::MoveList->new("white", "black");
$wpawn = Chess::Game::Pawn->new("e2", "white");
$entry = $movelist->add_move($wpawn, "e2", "e4");
$true = $entry->get_piece() eq $entry;
$bpawn = Chess::Game::Pawn->new("e7", "black");
$entry = $movelist->add_move($bpawn, "e7", "e6");
$entry = $movelist->add_move($wpawn, "e4", "e5");
@del_entries = $movelist->delete_move(1, "white"); # delete the list
$true = $entries[0]->get_piece() eq $wpawn;
$true = $entries[0]->get_dest_square() eq "e4";
$true = $entries[1]->get_piece() eq $bpawn;
$true = $entries[1]->get_dest_square() eq "e6";
The Chess module provides a framework for writing chess programs with Perl. This class forms part of that framework, recording a log of all moves during a Chess::Game in such a fashion that the list can be used to undo moves that have been made.
<<lessSYNOPSIS
$movelist = Chess::Game::MoveList->new("white", "black");
$wpawn = Chess::Game::Pawn->new("e2", "white");
$entry = $movelist->add_move($wpawn, "e2", "e4");
$true = $entry->get_piece() eq $entry;
$bpawn = Chess::Game::Pawn->new("e7", "black");
$entry = $movelist->add_move($bpawn, "e7", "e6");
$entry = $movelist->add_move($wpawn, "e4", "e5");
@del_entries = $movelist->delete_move(1, "white"); # delete the list
$true = $entries[0]->get_piece() eq $wpawn;
$true = $entries[0]->get_dest_square() eq "e4";
$true = $entries[1]->get_piece() eq $bpawn;
$true = $entries[1]->get_dest_square() eq "e6";
The Chess module provides a framework for writing chess programs with Perl. This class forms part of that framework, recording a log of all moves during a Chess::Game in such a fashion that the list can be used to undo moves that have been made.
Download (0.021MB)
Added: 2007-01-02 License: Perl Artistic License Price:
1025 downloads
Deska 0.6.0
Deska project is a graphical representation of chess games from PGN files. more>>
Deska project is a graphical representation of chess games from PGN files.
Deska provides graphical representations of chess games from PGN files.
It can load chess games from big PGN-files, edit and save games, use Crafty or Phalanx for analysis, search by players, events, or results, provide different board styles, etc.
<<lessDeska provides graphical representations of chess games from PGN files.
It can load chess games from big PGN-files, edit and save games, use Crafty or Phalanx for analysis, search by players, events, or results, provide different board styles, etc.
Download (0.21MB)
Added: 2007-01-12 License: GPL (GNU General Public License) Price:
1015 downloads
Chessweb 1.0 alpha2
Chessweb is a J2EE chess game Website. more>>
Chessweb is a J2EE chess game Website. It is a pure Java servlet implementation of a two-player chess game.
Two players log into the Web site, see an image of the current board in their browser, and make their moves.
The differentiating features of chessweb (e.g. versus WinBoard / XBoard) is that its an extremely lightweight implementation written completely in Java (nothing more than an app server and browser is required).
Furthermore, the client end is DHTML only, and verified to works with FireFox 1.0.6 and IE 6.
<<lessTwo players log into the Web site, see an image of the current board in their browser, and make their moves.
The differentiating features of chessweb (e.g. versus WinBoard / XBoard) is that its an extremely lightweight implementation written completely in Java (nothing more than an app server and browser is required).
Furthermore, the client end is DHTML only, and verified to works with FireFox 1.0.6 and IE 6.
Download (2.2MB)
Added: 2005-08-29 License: The Apache License 2.0 Price:
1517 downloads
Other version of Chessweb
License:The Apache License 2.0
The Snake Game 1.0
The Snake Game is an adapted, improved version of the popular javacave game. more>>
This is an adapted, improved version of the popular javacave game, written in QtRuby.
Installation:
download
chmod +x snake(gl).rb
run it.
<<lessInstallation:
download
chmod +x snake(gl).rb
run it.
Download (0.015MB)
Added: 2005-05-24 License: Public Domain Price:
1622 downloads
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.
<<lessSYNOPSIS
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.
Download (0.004MB)
Added: 2007-01-04 License: Perl Artistic License Price:
1025 downloads
Dreamchess 0.1.0
Dreamchess is a XBoard-compatible 3D chess interface and engine. more>>
Dreamchess is a XBoard-compatible 3D chess interface and engine.
DreamChess is an open source chess game. Our primary target platforms are Linux, Windows, Dreamcast and BeOS. DreamChess features 3D OpenGL graphics and provides various chess board sets, ranging from classic wooden to flat figurines.
A moderately strong chess engine is included: Dreamer. However, should this engine be too weak for you, then you can use any other XBoard-compatible chess engine, including the popular Crafty and GNU Chess.
Other features include on-screen move lists using SAN notation, undo functionality, and savegames in PGN format. In future releases we plan to add support for time controls, audio, network play, more visual effects such as reflections and shadows, and 3D animated pieces.
Enhancements:
- 3D OpenGL user interface (XBoard-compatible).
- A variety of chess sets, including classic wooden and flat figurines.
- Moderately strong chess engine.
- Savegames in PGN format.
<<lessDreamChess is an open source chess game. Our primary target platforms are Linux, Windows, Dreamcast and BeOS. DreamChess features 3D OpenGL graphics and provides various chess board sets, ranging from classic wooden to flat figurines.
A moderately strong chess engine is included: Dreamer. However, should this engine be too weak for you, then you can use any other XBoard-compatible chess engine, including the popular Crafty and GNU Chess.
Other features include on-screen move lists using SAN notation, undo functionality, and savegames in PGN format. In future releases we plan to add support for time controls, audio, network play, more visual effects such as reflections and shadows, and 3D animated pieces.
Enhancements:
- 3D OpenGL user interface (XBoard-compatible).
- A variety of chess sets, including classic wooden and flat figurines.
- Moderately strong chess engine.
- Savegames in PGN format.
Download (3.8MB)
Added: 2006-09-27 License: GPL (GNU General Public License) Price:
654 downloads
glChess 1.0.6
glChess is a chess game with 3D OpenGL graphics. more>>
glChess is a chess game with 3D OpenGL graphics.
An open-source 3D chess program. It uses openGL and gtkglarea (from GTK+) for the rendering and is designed for use in unix.
It will soon be able to be played over network much like xboard can currently. It has tentative support for computer play. Playable against a human or against "crafty" AI.
<<lessAn open-source 3D chess program. It uses openGL and gtkglarea (from GTK+) for the rendering and is designed for use in unix.
It will soon be able to be played over network much like xboard can currently. It has tentative support for computer play. Playable against a human or against "crafty" AI.
Download (0.15MB)
Added: 2007-06-11 License: GPL (GNU General Public License) Price:
866 downloads
Chessmonk 0.1
Chessmonk is an open source Chess Viewer and Database Tool. more>>
Chessmonk is an open source Chess Viewer and Database Tool.
Currently only PGN viewing is implemented, but that it does well. It features a scalable board with SVG piece graphics, move animation, a game list and a detailed display of the notation, including comments and variations.
Planned features among others are editing, computer analysis, and database queries. Chessmonk is intended to be an easy to use alternative to chess suites like ChessBase or scid.
<<lessCurrently only PGN viewing is implemented, but that it does well. It features a scalable board with SVG piece graphics, move animation, a game list and a detailed display of the notation, including comments and variations.
Planned features among others are editing, computer analysis, and database queries. Chessmonk is intended to be an easy to use alternative to chess suites like ChessBase or scid.
Download (0.076MB)
Added: 2006-08-14 License: GPL (GNU General Public License) Price:
671 downloads
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.
<<lessChessTask 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.
Download (1.5MB)
Added: 2006-12-04 License: GPL (GNU General Public License) Price:
1054 downloads
gnome-chess 0.4.0
gnome-chess is chess game, a graphical user interface for playing chess. more>>
gnome-chess is chess game, a graphical user interface for playing chess.
It works with chess programs and chess servers - it is also a PGN viewer. For chess programs, it works best with the chess engine crafty (ftp://ftp.cis.uab.edu/pub/hyatt) but most features should also work with GNU Chess (ftp://ftp.gnu.org).
You can use the "first chess program" option to choose the computer engine you want to play against.
E.g. try "gnome-chess --fcp crafty" or "gnome-chess --fcp gnuchessx"
You can use the --ics* options to choose the server and pick user name and passwords.
E.g. try "gnome-chess --ics --icshost freechess.org"
<<lessIt works with chess programs and chess servers - it is also a PGN viewer. For chess programs, it works best with the chess engine crafty (ftp://ftp.cis.uab.edu/pub/hyatt) but most features should also work with GNU Chess (ftp://ftp.gnu.org).
You can use the "first chess program" option to choose the computer engine you want to play against.
E.g. try "gnome-chess --fcp crafty" or "gnome-chess --fcp gnuchessx"
You can use the --ics* options to choose the server and pick user name and passwords.
E.g. try "gnome-chess --ics --icshost freechess.org"
Download (0.57MB)
Added: 2006-11-06 License: GPL (GNU General Public License) Price:
631 downloads
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.
<<lessYou can email to yourself at the end of a Yahoo! online chess game.
Download (0.065MB)
Added: 2006-11-30 License: GPL (GNU General Public License) Price:
1058 downloads
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.
<<lessThe 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.
Download (0.44MB)
Added: 2007-05-27 License: Perl Artistic License Price:
884 downloads
Chess::PGN::Parse 0.19
Chess::PGN::Parse is a Perl module that reads and parses PGN (Portable Game Notation) Chess files. more>>
Chess::PGN::Parse is a Perl module that reads and parses PGN (Portable Game Notation) Chess files.
SYNOPSIS
use Chess::PGN::Parse;
use English qw( -no_match_vars );
my $pgnfile = "kk_2001.pgn";
my $pgn = new Chess::PGN::Parse $pgnfile
or die "cant open $pgnfilen";
while ($pgn->read_game()) {
print $pgn->white, ", " , $pgn->black, ", ",
$pgn->result, ", ",
$pgn->game, "n";
}
use Chess::PGN::Parse;
my $text ="";
{
local $INPUT_RECORD_SEPARATOR = undef;
open PGN "< $pgnfile" or die;
$text = ;
close $text;
}
# reads from string instead of a file
my $pgn = new Chess::PGN::Parse undef, $text;
while ($pgn->read_game()) {
print $pgn->white, ", " , $pgn->black, ", ",
$pgn->result, ", ",
$pgn->game, "n";
}
use Chess::PGN::Parse;
my $pgnfile = "kk_2001.pgn";
my $pgn = new Chess::PGN::Parse $pgnfile
or die "cant open $pgnfilen";
my @games = $pgn->smart_read_all();
Chess::PGN::Parse offers a range of methods to read and manipulate Portable Game Notation files. PGN files contain chess games produced by chess programs following a standard format (http://www.schachprobleme.de/chessml/faq/pgn/). It is among the preferred means of chess games distribution. Being a public, well established standard, PGN is understood by many chess archive programs. Parsing simple PGN files is not difficult. However, dealing with some of the intricacies of the Standard is less than trivial. This module offers a clean handle toward reading and parsing complex PGN files.
A PGN file has several tags, which are key/values pairs at the header of each game, in the format [key "value"]
After the header, the game follows. A string of numbered chess moves, optionally interrupted by braced comments and recursive parenthesized variants and comments. While dealing with simple braced comments is straightforward, parsing nested comments can give you more than a headache.
Chess::PGN::Parse most immediate methods are: read_game() reads one game, separating the tags and the game text.
parse_game() parse the current game, and stores the moves into an
array and optionally saves the comments into an array of hashes
for furter usage. It can deal with nested comments and recursive
variations.
quick_parse_game() Same as the above, but doesnt save the comments,
which are just stripped from the text. It cant deal with nested
comments. Should be the preferred method when we know that we are
dealing with simple PGNs.
smart_parse_game() Best of the above methods. A preliminary check
will call parse_game() or quick_parse_game(), depending on the
presence of nested comments in the game.
read_all(), quick_read_all(), smart_read_all() will read all the records
in the current PGN file and return an array of hashes with all the
parsed details from the games.
<<lessSYNOPSIS
use Chess::PGN::Parse;
use English qw( -no_match_vars );
my $pgnfile = "kk_2001.pgn";
my $pgn = new Chess::PGN::Parse $pgnfile
or die "cant open $pgnfilen";
while ($pgn->read_game()) {
print $pgn->white, ", " , $pgn->black, ", ",
$pgn->result, ", ",
$pgn->game, "n";
}
use Chess::PGN::Parse;
my $text ="";
{
local $INPUT_RECORD_SEPARATOR = undef;
open PGN "< $pgnfile" or die;
$text = ;
close $text;
}
# reads from string instead of a file
my $pgn = new Chess::PGN::Parse undef, $text;
while ($pgn->read_game()) {
print $pgn->white, ", " , $pgn->black, ", ",
$pgn->result, ", ",
$pgn->game, "n";
}
use Chess::PGN::Parse;
my $pgnfile = "kk_2001.pgn";
my $pgn = new Chess::PGN::Parse $pgnfile
or die "cant open $pgnfilen";
my @games = $pgn->smart_read_all();
Chess::PGN::Parse offers a range of methods to read and manipulate Portable Game Notation files. PGN files contain chess games produced by chess programs following a standard format (http://www.schachprobleme.de/chessml/faq/pgn/). It is among the preferred means of chess games distribution. Being a public, well established standard, PGN is understood by many chess archive programs. Parsing simple PGN files is not difficult. However, dealing with some of the intricacies of the Standard is less than trivial. This module offers a clean handle toward reading and parsing complex PGN files.
A PGN file has several tags, which are key/values pairs at the header of each game, in the format [key "value"]
After the header, the game follows. A string of numbered chess moves, optionally interrupted by braced comments and recursive parenthesized variants and comments. While dealing with simple braced comments is straightforward, parsing nested comments can give you more than a headache.
Chess::PGN::Parse most immediate methods are: read_game() reads one game, separating the tags and the game text.
parse_game() parse the current game, and stores the moves into an
array and optionally saves the comments into an array of hashes
for furter usage. It can deal with nested comments and recursive
variations.
quick_parse_game() Same as the above, but doesnt save the comments,
which are just stripped from the text. It cant deal with nested
comments. Should be the preferred method when we know that we are
dealing with simple PGNs.
smart_parse_game() Best of the above methods. A preliminary check
will call parse_game() or quick_parse_game(), depending on the
presence of nested comments in the game.
read_all(), quick_read_all(), smart_read_all() will read all the records
in the current PGN file and return an array of hashes with all the
parsed details from the games.
Download (0.026MB)
Added: 2007-08-01 License: Perl Artistic License Price:
818 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above chess game 0.6.0 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed