summaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-05-23 16:50:45 +0200
committeremkael <emkael@tlen.pl>2016-05-23 16:50:45 +0200
commitc7b42c905a9e3c90ff81b8d4dcdc0429ab2e991a (patch)
treecadc9a7428d1e2276662e4222cdbde042715643b /Program.cs
parent485863c9568a4c0a5dc2bb7a40f2ee79a5034c40 (diff)
* parsing JFR/DDS custom PBN tags to retrieve par contract and par score
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 3373004..5c7c912 100644
--- a/Program.cs
+++ b/Program.cs
@@ -37,8 +37,12 @@ namespace BCDD
{
Console.WriteLine("Board " + boardNo);
DDTable.PrintTable(ddTable);
+ ParScore par = new ParScore(board);
+ ParContract contract = par.GetParContract(ddTable);
+ Console.WriteLine(contract);
Console.WriteLine();
board.SaveDDTable(ddTable);
+ board.SaveParContract(contract);
file.WriteBoard(board);
}
else