Games::Go::GMP - Low-level interface to the Go Modem Protocol
use Games::Go::GMP;
This is an automatically created extension which interfaces Perl in a very low-level way to William Shubert's GMP library. (included in this distribution) You will probably need to be familiar with this library to get anything out of this module.
None by default.
GmpResult gmp_check(Gmp *ge, int sleep, int *out1, int *out2, const char **error) int gmp_chineseRules(Gmp *ge) Gmp *gmp_create(int inFile, int outFile) void gmp_destroy(Gmp *ge) int gmp_handicap(Gmp *ge) int gmp_iAmWhite(Gmp *ge) float gmp_komi(Gmp *ge) const char *gmp_resultString(GmpResult result) void gmp_sendMove(Gmp *ge, int x, int y) void gmp_sendPass(Gmp *ge) void gmp_sendUndo(Gmp *ge, int numUndos) int gmp_size(Gmp *ge) void gmp_startGame(Gmp *ge, int size, int handicap, float komi, int chineseRules, int iAmWhite)
Simon Cozens simon@cpan.org
simon@cpan.org
perl.
To install Games::Go::GMP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Go::GMP
CPAN shell
perl -MCPAN -e shell install Games::Go::GMP
For more information on module installation, please visit the detailed CPAN module installation guide.