in str/apps/src/BoardAnalyzer.cpp [60:77]
bool BoardAnalyzer::hasExchangePatternOnPentagon()
{
bool isExchangePattern = false;
// �����ʒu�̒��ŁA�����l�p�`��ɂ�����̂��擾
for(int i=0; i<5; i++)
{
for(int j=0; j<5; j++)
{
if(positions[i] == pentagon[j] && positions[j] == pentagon[i])
{
isExchangePattern = true;
}
}
}
return isExchangePattern;
}