00001 //---------------------------------------------------------------------------- 00002 /** @file SpCapturePlayer.cpp 00003 See SpCapturePlayer.h 00004 */ 00005 //---------------------------------------------------------------------------- 00006 00007 #include "SgSystem.h" 00008 #include "SpCapturePlayer.h" 00009 00010 //---------------------------------------------------------------------------- 00011 00012 int SpCaptureMoveGenerator::Evaluate() 00013 { 00014 int numstones = m_board.NuCapturedStones(); 00015 if (numstones == 0) 00016 return INT_MIN; 00017 else 00018 return numstones; 00019 } 00020 00021 //---------------------------------------------------------------------------- 00022