My Project
Classes | Functions
osl::kakinoki Namespace Reference

Classes

class  KakinokiFile
 
struct  KakinokiIOError
 

Functions

Move strToMove (const std::string &, const SimpleState &, Move last_move=Move())
 
std::pair< Player, PtypestrToPiece (const std::string &)
 

Function Documentation

◆ strToMove()

osl::Move osl::kakinoki::strToMove ( const std::string &  s,
const SimpleState state,
Move  last_move = Move() 
)

◆ strToPiece()

std::pair< osl::Player, osl::Ptype > osl::kakinoki::strToPiece ( const std::string &  s)

Definition at line 155 of file kakinoki.cc.

References osl::BLACK, osl::record::KanjiMove::toPtype(), and osl::WHITE.