Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingarabedian committed Oct 6, 2022
1 parent 868b838 commit 90cb9d3
Show file tree
Hide file tree
Showing 19 changed files with 1,167,218 additions and 0 deletions.
25 changes: 25 additions & 0 deletions code/sodoku.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.1.32414.318
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "sodoku", "sodoku\sodoku.csproj", "{18034C2E-F434-4FE3-9D77-22EF2EF91B15}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{18034C2E-F434-4FE3-9D77-22EF2EF91B15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{18034C2E-F434-4FE3-9D77-22EF2EF91B15}.Debug|Any CPU.Build.0 = Debug|Any CPU
{18034C2E-F434-4FE3-9D77-22EF2EF91B15}.Release|Any CPU.ActiveCfg = Release|Any CPU
{18034C2E-F434-4FE3-9D77-22EF2EF91B15}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {92E80615-EE0F-4AEB-9DD8-8C8802CD1A60}
EndGlobalSection
EndGlobal
30 changes: 30 additions & 0 deletions code/sodoku/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
using System;

namespace sodoku
{
internal class Program
{
static void Main(string[] args)
{
SodokuGame Game1 = new SodokuGame("../../../data/input/puzzle1.txt");
Game1.Start();

//SodokuGame Game2 = new SodokuGame("../../../data/input/puzzle2.txt");
//Game2.Start();

//SodokuGame Game3 = new SodokuGame("../../../data/input/puzzle3.txt");
//Game3.Start();

//SodokuGame Game4 = new SodokuGame("../../../data/input/puzzle4.txt");
//Game4.Start();

//SodokuGame Game5 = new SodokuGame("../../../data/input/puzzle5.txt");
//Game5.Start();



Console.WriteLine();
Console.WriteLine("Hello World!");
}
}
}
42 changes: 42 additions & 0 deletions code/sodoku/SodokuGame.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace sodoku
{
public class SodokuGame : SodokuGameBase
{
// Example Board Matrix
/*
8 | 1 2 3 4 5 6 7 8 9
|
7 | 1 2 3 4 5 6 7 8 9
|
6 | 1 2 3 4 5 6 7 8 9
|
5 | 1 2 3 4 5 6 7 8 9
|
4 | 1 2 3 4 5 6 7 8 9
|
3 | 1 2 3 4 5 6 7 8 9
|
2 | 1 2 3 4 5 6 7 8 9
|
1 | 1 2 3 4 5 6 7 8 9
|
0 | 1 2 3 4 5 6 7 8 9
----------------------------------
0 1 2 3 4 5 6 7 8
*/

public SodokuGame(string filename)
{
file = filename;
matrix = new Dictionary<Point, int>();
}
}
}
Loading

0 comments on commit 90cb9d3

Please sign in to comment.