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