Skip Menu |

This queue is for tickets about the Chess CPAN distribution.

Report information
The Basics
Id: 31909
Status: resolved
Priority: 0/
Queue: Chess

People
Owner: Nobody in particular
Requestors: cpan [...] zoffix.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: No way to get Chess::Board from Chess::Game
I don't see a way to obtain Chess::Board object from Chess::Game object. Considering that I am displaying the board after every move, I have to create my own right now, but things start to get tricky during castles, etc. A ->get_board() method returning Chess::Board object would be nice to have. Thanks.
Subject: No documentation about ->get_board(), ->get_pieces(), ->get_players() method
Sorry, should've looked at the source code before posting. Apparently there is an undocumented ->get_board() method, along with ->get_pieces() and ->get_players() methods. Failing to see those methods documented anywhere. If you need help writing the documentation for them please let me know.