Example #1
0
        private void Debug_PattenPrint(UFish UF)
        {
            WriteLine("no=" + no + " sz=" + sz + "  BaseSet: " + UF.HouseB.HouseToString());
            Bit81  BPnoB = new Bit81(pBDL, 1 << no);
            string noST  = " " + no.ToString();

            for (int r = 0; r < 9; r++)
            {
                string st = "";
                BPnoB.GetRowList(r).ForEach(p => st += (p == 0? " .": noST));
                st += " ";
                UF.BaseB81.GetRowList(r).ForEach(p => st += (p == 0? " .": " B"));
                st += " ";
                (BPnoB - UF.BaseB81).GetRowList(r).ForEach(p => st += (p == 0? " .": " X"));
                WriteLine(st);
            }
        }