Beispiel #1
0
        private void ExecuteIsSuicide(object obj)
        {
            ClientLog.FilePath = AppDomain.CurrentDomain.SetupInformation.ApplicationBase + DateTime.Now.ToString("MM-dd HH-mm-ss") + ".log";

            for (int i = 0; i < 19; i++)
            {
                for (int j = 0; j < 19; j++)
                {
                    for (int turn = 1; turn <= 2; turn++)
                    {
                        if (DllImport.IsSuicide(i, j, turn))
                        {
                            WriteMsgLine("suicide " + i + "," + j + ":" + turn);
                        }
                    }
                }
            }
            WriteMsgLine("ExcuteIsSuicide Over");
        }