Exemplo n.º 1
0
 public void Log1(Playerside pside_genTeban3)
 {
     this.BrdMove.Caption           = $"移動可能_{ConvMove.ChangeMoveTo_KsString_ForLog(this.Move, pside_genTeban3)}";
     this.BrdMove.Temezumi          = this.Temezumi_yomiCur;
     this.BrdMove.YomikaisiTemezumi = this.YomikaisiTemezumi;
     this.BrdMove.GenTeban          = pside_genTeban3;// 現手番
 }
Exemplo n.º 2
0
        public static string ToJsonStr(KaisetuBoards boards1)
        {
            StringBuilder sb_json_boardsLog = new StringBuilder();

            foreach (KaisetuBoard board1 in boards1.boards)
            {
                // 指し手。分かれば。
                string moveStr = ConvMove.ChangeMoveTo_KsString_ForLog(board1.moveOrNull, board1.GenTeban);

                //string oldCaption = boardLog1.Caption;
                //boardLog1.Caption += $"_{moveStr}";
                sb_json_boardsLog.Append(Util_LogWriter_Json.ToJsonStr(board1));
                //boardLog1.Caption = oldCaption;
            }

            return(sb_json_boardsLog.ToString());
        }