I've created a Sudoku Game and I have 23 Digits that are covered for the user and that he needs too solve. I'm wondering if it's possible that through a Label show the user how many textboxes that are left over without an digit in them.
I've created the game through WinForms and I've pretty much come to an hold. If anyone can throw me in the right direction it would be much appreciated!
I created the textboxes and used arrays, then I randomized a finished sudoku. The randomizer is a whole class for itself and after that I pretty much assigned arrays
private void assign_Char_Value(string[] s_Rem_Value)
{
arr_Char_Value = (s_Rem_Value[0] + s_Rem_Value[1] + s_Rem_Value[2]
+ s_Rem_Value[3] + s_Rem_Value[4] + s_Rem_Value[5] + s_Rem_Value[6]
+ s_Rem_Value[7] + s_Rem_Value[8]).ToCharArray();
int i_Cnt = 0;
foreach (TextBox[] arr_txtBox in validate.arr_txtBox_Horiz)
{
foreach (TextBox txtBox in arr_txtBox)
{
txtBox.Text = arr_Char_Value[i_Cnt].ToString();
i_Cnt++;
}
}
Rondomize_Numbers();
}
After that I chose int number = 23;
I have 3 buttons one of them correct the game another randomizes a new game and the other shows the rules of sudoku.