summaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-05-23 16:01:49 +0200
committeremkael <emkael@tlen.pl>2016-05-23 16:02:58 +0200
commit0f96a08cbdb101d676ddb80c27ac4d97fedfd8ac (patch)
tree4fb94394b436be26b18c54c6f14d373fa9b09d3d /Program.cs
parent74ced229ca6bf25d3d8cb8cdb82bdeca34856604 (diff)
* saving double-dummy table back to PBN file
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
index 814edce..3373004 100644
--- a/Program.cs
+++ b/Program.cs
@@ -37,6 +37,9 @@ namespace BCDD
{
Console.WriteLine("Board " + boardNo);
DDTable.PrintTable(ddTable);
+ Console.WriteLine();
+ board.SaveDDTable(ddTable);
+ file.WriteBoard(board);
}
else
{
@@ -49,6 +52,7 @@ namespace BCDD
Console.WriteLine(e.StackTrace);
}
}
+ file.Save();
}
Console.WriteLine("Press any key to continue...");
Console.ReadLine();