diff --git a/MathColoringGame/Images/DiceFive.png b/MathColoringGame/Images/DiceFive.png
deleted file mode 100644
index 4e27e15..0000000
Binary files a/MathColoringGame/Images/DiceFive.png and /dev/null differ
diff --git a/MathColoringGame/Images/DiceFour.png b/MathColoringGame/Images/DiceFour.png
deleted file mode 100644
index e782326..0000000
Binary files a/MathColoringGame/Images/DiceFour.png and /dev/null differ
diff --git a/MathColoringGame/Images/DiceOne.png b/MathColoringGame/Images/DiceOne.png
deleted file mode 100644
index 8a18117..0000000
Binary files a/MathColoringGame/Images/DiceOne.png and /dev/null differ
diff --git a/MathColoringGame/Images/DiceSix.png b/MathColoringGame/Images/DiceSix.png
deleted file mode 100644
index 56ff6ca..0000000
Binary files a/MathColoringGame/Images/DiceSix.png and /dev/null differ
diff --git a/MathColoringGame/Images/DiceThree.png b/MathColoringGame/Images/DiceThree.png
deleted file mode 100644
index 4df4891..0000000
Binary files a/MathColoringGame/Images/DiceThree.png and /dev/null differ
diff --git a/MathColoringGame/Images/DiceTwo.png b/MathColoringGame/Images/DiceTwo.png
deleted file mode 100644
index 049b4ff..0000000
Binary files a/MathColoringGame/Images/DiceTwo.png and /dev/null differ
diff --git a/MathColoringGame/MainWindow.xaml b/MathColoringGame/MainWindow.xaml
index 94e7967..0d5028b 100644
--- a/MathColoringGame/MainWindow.xaml
+++ b/MathColoringGame/MainWindow.xaml
@@ -2,8 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:MathColoringGame"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Title="MainWindow" Height="850" Width="850"
WindowStyle="None"
@@ -405,445 +404,445 @@
Grid.Row="2"
Grid.Column="0"
Grid.ColumnSpan="3">
-
-
-
-
-
-
-
-
-
-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
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MathColoringGame/MainWindow.xaml.cs b/MathColoringGame/MainWindow.xaml.cs
index 443b086..44cc0c4 100644
--- a/MathColoringGame/MainWindow.xaml.cs
+++ b/MathColoringGame/MainWindow.xaml.cs
@@ -17,25 +17,27 @@ namespace MathColoringGame
public MainWindow()
{
- InitializeComponent();
+ InitializeComponent();
NewGame();
- }
-
+
+ }
+
int cellCounter;
int roundCounter;
int diceResult;
private MarkTyp[] mResults;
private bool mPlayer1Turn;
+
//Starts a new game an clear all values back to the start
public void NewGame()
-
- {
+ {
cellCounter = 0;
roundCounter = 1;
+
// Create a new blanck aray of free cells
mResults = new MarkTyp[420];
@@ -44,13 +46,13 @@ namespace MathColoringGame
mResults[i] = MarkTyp.Free;
// make sure Player1 is starts The game
- mPlayer1Turn = true;
+ mPlayer1Turn = true;
// interate every Cell on the grid
- Container.Children.Cast