Skip to content

Commit 50a251e

Browse files
committed
Adding start sln
1 parent aac3089 commit 50a251e

File tree

4 files changed

+100
-1
lines changed

4 files changed

+100
-1
lines changed

README.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ Mehr dazu unter http://de.wikipedia.org/wiki/Sudoku
1515
* Keine Ziffer kommt doppelt vor
1616
* Entwicklung einer Funktion die prüft ob ein gegebenes Spielfeld gegen die Regeln verstößt
1717
* Entwicklung einer Funktion die prüft ob ein gegebenes Spielfeld noch eine 0 enthält
18-
* Entwicklung des Lösungsalgorithmus
18+
* Entwicklung des Lösungsalgorithmus

Source/SudokuSolver/Program.fs

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
let field1 =
2+
[[1; 2; 3; 4]
3+
[0; 4; 1; 2]
4+
[0; 3; 0; 0]
5+
[2; 0; 0; 0]]
6+
7+
let field2 =
8+
[[0; 0; 8; 3; 0; 0; 6; 0; 0]
9+
[0; 0; 4; 0; 0; 0; 0; 1; 0]
10+
[6; 7; 0; 0; 8; 0; 0; 0; 0]
11+
12+
[0; 1; 6; 4; 3; 0; 0; 0; 0]
13+
[0; 0; 0; 7; 9; 0; 0; 2; 0]
14+
[0; 9; 0; 0; 0; 0; 4; 0; 1]
15+
16+
[0; 0; 0; 9; 1; 0; 0; 0; 5]
17+
[0; 0; 3; 0; 5; 0; 0; 0; 2]
18+
[0; 5; 0; 0; 0; 0; 0; 7; 4]]
+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
6+
<ProductVersion>8.0.30703</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{f37f8189-f2bc-415d-99de-e9f692b5aa70}</ProjectGuid>
9+
<OutputType>Exe</OutputType>
10+
<RootNamespace>SudokuSolver</RootNamespace>
11+
<AssemblyName>SudokuSolver</AssemblyName>
12+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
13+
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
14+
<Name>SudokuSolver</Name>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<Tailcalls>false</Tailcalls>
21+
<OutputPath>bin\Debug\</OutputPath>
22+
<DefineConstants>DEBUG;TRACE</DefineConstants>
23+
<WarningLevel>3</WarningLevel>
24+
<PlatformTarget>x86</PlatformTarget>
25+
<DocumentationFile>bin\Debug\SudokuSolver.XML</DocumentationFile>
26+
</PropertyGroup>
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
28+
<DebugType>pdbonly</DebugType>
29+
<Optimize>true</Optimize>
30+
<Tailcalls>true</Tailcalls>
31+
<OutputPath>bin\Release\</OutputPath>
32+
<DefineConstants>TRACE</DefineConstants>
33+
<WarningLevel>3</WarningLevel>
34+
<PlatformTarget>x86</PlatformTarget>
35+
<DocumentationFile>bin\Release\SudokuSolver.XML</DocumentationFile>
36+
</PropertyGroup>
37+
<ItemGroup>
38+
<Reference Include="mscorlib" />
39+
<Reference Include="FSharp.Core" />
40+
<Reference Include="System" />
41+
<Reference Include="System.Core" />
42+
<Reference Include="System.Numerics" />
43+
</ItemGroup>
44+
<ItemGroup>
45+
<Compile Include="Program.fs" />
46+
</ItemGroup>
47+
<Import Project="$(MSBuildExtensionsPath32)\FSharp\1.0\Microsoft.FSharp.Targets" Condition="!Exists('$(MSBuildBinPath)\Microsoft.Build.Tasks.v4.0.dll')" />
48+
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.0\Microsoft.FSharp.Targets" Condition=" Exists('$(MSBuildBinPath)\Microsoft.Build.Tasks.v4.0.dll')" />
49+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
50+
Other similar extension points exist, see Microsoft.Common.targets.
51+
<Target Name="BeforeBuild">
52+
</Target>
53+
<Target Name="AfterBuild">
54+
</Target>
55+
-->
56+
</Project>

Source/SudokuSolver/SudokuSolver.sln

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 11.00
3+
# Visual Studio 2010
4+
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "SudokuSolver", "SudokuSolver.fsproj", "{F37F8189-F2BC-415D-99DE-E9F692B5AA70}"
5+
EndProject
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{48312B1C-323F-41DF-9D51-5F5C06E6F34B}"
7+
ProjectSection(SolutionItems) = preProject
8+
..\..\README.markdown = ..\..\README.markdown
9+
EndProjectSection
10+
EndProject
11+
Global
12+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
13+
Debug|x86 = Debug|x86
14+
Release|x86 = Release|x86
15+
EndGlobalSection
16+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
17+
{F37F8189-F2BC-415D-99DE-E9F692B5AA70}.Debug|x86.ActiveCfg = Debug|x86
18+
{F37F8189-F2BC-415D-99DE-E9F692B5AA70}.Debug|x86.Build.0 = Debug|x86
19+
{F37F8189-F2BC-415D-99DE-E9F692B5AA70}.Release|x86.ActiveCfg = Release|x86
20+
{F37F8189-F2BC-415D-99DE-E9F692B5AA70}.Release|x86.Build.0 = Release|x86
21+
EndGlobalSection
22+
GlobalSection(SolutionProperties) = preSolution
23+
HideSolutionNode = FALSE
24+
EndGlobalSection
25+
EndGlobal

0 commit comments

Comments
 (0)