[摘要]y-i>14)continue;elseif(chessTable[(y-i)*15+x+i] == thisTurn)isFive.Push((y-i)*15+x+i);if(isFive....
y-i>14)
{
continue;
}
else
{
if(chessTable[(y-i)*15+x+i] == thisTurn)
{
isFive.Push((y-i)*15+x+i);
if(isFive.Count == 5)
{
MessageBox.Show("Game Over","Notes",MessageBox.OK);
ReSetGame();
return;
}
}
else
{
isFive.Clear();
}
}
}
isFive.Clear();
//scan x=-y have five
for(int i=-14;i<15;i++)
{
if(x+i<0
关键词:c#写的5子棋程序,供学习WinForms的鼠标事件与运用GDI+