NAME

Games::Go::GMP - Low-level interface to the Go Modem Protocol

SYNOPSIS

use Games::Go::GMP;

DESCRIPTION

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.

EXPORT

None by default.

Exportable functions

  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)

AUTHOR

Simon Cozens simon@cpan.org

SEE ALSO

perl.