Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SwapCheck.hpp File Reference

#include "Hex.hpp"
#include "Game.hpp"

Go to the source code of this file.

Namespaces

namespace  SwapCheck
 

Determines whether to swap in the current game state.


Functions

bool SwapCheck::PlaySwap (const Game &game, HexColor toPlay)
 If first move of game has been played and swap rule is being used, checks hardcoded swap rules and returns true if swap should be played.

Detailed Description

Definition in file SwapCheck.hpp.


6 Jan 2011 Doxygen 1.6.3