#include <gnuShogiClient.h>


Public Member Functions | |
| GnuShogiClient (ComputerPlayer *black, ComputerPlayer *white, CsaLogger *l, std::istream &, std::ostream &) | |
| ~GnuShogiClient () | |
Private Member Functions | |
| bool | readAndProcessCommand () |
| void | processComputerMove (const search::MoveWithComment &, int seconds) |
| void | preComputeNextMove () |
Definition at line 12 of file gnuShogiClient.h.
| osl::game_playing::GnuShogiClient::GnuShogiClient | ( | ComputerPlayer * | black, |
| ComputerPlayer * | white, | ||
| CsaLogger * | l, | ||
| std::istream & | is, | ||
| std::ostream & | os | ||
| ) |
Definition at line 14 of file gnuShogiClient.cc.
Definition at line 22 of file gnuShogiClient.cc.
| void osl::game_playing::GnuShogiClient::preComputeNextMove | ( | ) | [private] |
| void osl::game_playing::GnuShogiClient::processComputerMove | ( | const search::MoveWithComment & | , |
| int | seconds | ||
| ) | [private, virtual] |
Implements osl::game_playing::CuiClient.
Definition at line 135 of file gnuShogiClient.cc.
References osl::alt(), osl::BLACK, osl::Sennichite::BLACK_LOSE(), osl::Move::isNormal(), osl::Move::move, result, osl::record::csa::show(), osl::WHITE, and osl::Sennichite::WHITE_LOSE().
| bool osl::game_playing::GnuShogiClient::readAndProcessCommand | ( | ) | [private, virtual] |
Implements osl::game_playing::CuiClient.
Definition at line 27 of file gnuShogiClient.cc.
References osl::alt(), osl::BLACK, osl::Sennichite::BLACK_LOSE(), osl::Sennichite::isNormal(), osl::Move::player(), osl::game_playing::CsaStopwatch::read(), result, osl::record::csa::show(), osl::record::csa::strToMove(), timer, osl::WHITE, and osl::Sennichite::WHITE_LOSE().
1.7.6.1