Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

Game.hpp File Reference

#include "Hex.hpp"
#include "Move.hpp"
#include "StoneBoard.hpp"

Go to the source code of this file.

Classes

class  Game
 A Game of Hex. More...

Namespaces

namespace  GameUtil
 

Utilities on Games.


Functions

bool GameUtil::IsGameOver (const Game &game)
 Returns true if the game is over, that is, if the current position contains a solid connection for one player.
bool GameUtil::SequenceFromPosition (const Game &game, const StoneBoard &pos, MoveSequence &seq)
 If game contains the given position, returns the move history from that position to the current end of the game.
void GameUtil::HistoryToSequence (const MoveSequence &history, PointSequence &sequence)
 Converts a game history into a sequence of points played.

Detailed Description

Definition in file Game.hpp.


6 Jan 2011 Doxygen 1.6.3