Skip to content
Snippets Groups Projects
Commit 3b114372 authored by DamianKomdeur's avatar DamianKomdeur
Browse files

Removed unused lines

parent 8b647237
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,9 @@
<Compile Update="Puzzles\BlackJack.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="UI\PuzzleForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="UI\RoundedButton.cs">
<SubType>Component</SubType>
</Compile>
......
......@@ -13,7 +13,7 @@ namespace PuzzlePlayer_Namespace
internal class Sudoku : Board
{
private static int rootBoardLength;
public Sudoku(int boardSize = 16)
public Sudoku(int boardSize = 9)
{
boardState = GetClearBoard(boardSize, boardSize);
lastGeneratedBoard = GetClearBoard(boardSize, boardSize);
......
......@@ -121,7 +121,6 @@ namespace PuzzlePlayer_Namespace
public virtual int RandomNumber(int number)
{
Debug.WriteLine(number);
return (int)Math.Floor((double)(random.NextDouble() * number + 1));
}
......
......@@ -20,8 +20,8 @@ namespace PuzzlePlayer_Namespace
private readonly Label titlebox;
private readonly Label informationbox;
private Rectangle boardspace;
private readonly MenuStrip menuStrip;
private readonly ToolStripMenuItem menuSettings;
//private readonly MenuStrip menuStrip;
//private readonly ToolStripMenuItem menuSettings;
private readonly BufferedGraphics bufferedGraphics;
private Board board;
public Board Board //updating the Board member will immediately call board.Draw method so that the board is updated visually
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment