Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Uwe Wienkop
Prog1_WS2018_19_Wienkop
Commits
c734d1c9
Commit
c734d1c9
authored
Nov 13, 2018
by
Uwe Wienkop
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Di, 13.11.18
parent
1543bd39
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
162 additions
and
0 deletions
+162
-0
01Pythagoras/Prog1_WS2018.sln
01Pythagoras/Prog1_WS2018.sln
+6
-0
06TicTacToe_Intro/06TicTacToe_Intro.csproj
06TicTacToe_Intro/06TicTacToe_Intro.csproj
+53
-0
06TicTacToe_Intro/App.config
06TicTacToe_Intro/App.config
+6
-0
06TicTacToe_Intro/Program.cs
06TicTacToe_Intro/Program.cs
+61
-0
06TicTacToe_Intro/Properties/AssemblyInfo.cs
06TicTacToe_Intro/Properties/AssemblyInfo.cs
+36
-0
No files found.
01Pythagoras/Prog1_WS2018.sln
View file @
c734d1c9
...
...
@@ -47,6 +47,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "05ZeichenkettenIntro", "..\
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "05ZeichenkettenIntro02", "..\05ZeichenkettenIntro02\05ZeichenkettenIntro02.csproj", "{4D83143C-15A2-4E57-AA87-F848879BB1AB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "06TicTacToe_Intro", "..\06TicTacToe_Intro\06TicTacToe_Intro.csproj", "{38A6DC3F-B05D-4437-BB84-96C2A2E6D3E8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
...
...
@@ -141,6 +143,10 @@ Global
{4D83143C-15A2-4E57-AA87-F848879BB1AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4D83143C-15A2-4E57-AA87-F848879BB1AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4D83143C-15A2-4E57-AA87-F848879BB1AB}.Release|Any CPU.Build.0 = Release|Any CPU
{38A6DC3F-B05D-4437-BB84-96C2A2E6D3E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{38A6DC3F-B05D-4437-BB84-96C2A2E6D3E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{38A6DC3F-B05D-4437-BB84-96C2A2E6D3E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{38A6DC3F-B05D-4437-BB84-96C2A2E6D3E8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
...
...
06TicTacToe_Intro/06TicTacToe_Intro.csproj
0 → 100644
View file @
c734d1c9
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"15.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{38A6DC3F-B05D-4437-BB84-96C2A2E6D3E8}
</ProjectGuid>
<OutputType>
Exe
</OutputType>
<RootNamespace>
_06TicTacToe_Intro
</RootNamespace>
<AssemblyName>
06TicTacToe_Intro
</AssemblyName>
<TargetFrameworkVersion>
v4.6.1
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<AutoGenerateBindingRedirects>
true
</AutoGenerateBindingRedirects>
<Deterministic>
true
</Deterministic>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugSymbols>
true
</DebugSymbols>
<DebugType>
full
</DebugType>
<Optimize>
false
</Optimize>
<OutputPath>
bin\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugType>
pdbonly
</DebugType>
<Optimize>
true
</Optimize>
<OutputPath>
bin\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Data.DataSetExtensions"
/>
<Reference
Include=
"Microsoft.CSharp"
/>
<Reference
Include=
"System.Data"
/>
<Reference
Include=
"System.Net.Http"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"Program.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"App.config"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
</Project>
\ No newline at end of file
06TicTacToe_Intro/App.config
0 → 100644
View file @
c734d1c9
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.6.1"
/>
</
startup
>
</
configuration
>
\ No newline at end of file
06TicTacToe_Intro/Program.cs
0 → 100644
View file @
c734d1c9
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
_06TicTacToe_Intro
{
class
Program
{
static
bool
IstPrimzahl
(
int
zahl
)
{
for
(
int
teiler
=
2
;
teiler
<
zahl
;
teiler
++)
{
if
(
zahl
%
teiler
==
0
)
return
false
;
}
return
true
;
}
static
bool
Kniffeltest
(
int
[]
Kniffelfeld
)
{
for
(
int
i
=
1
;
i
<
Kniffelfeld
.
Length
;
i
++)
{
if
(
Kniffelfeld
[
i
]
!=
Kniffelfeld
[
0
])
return
false
;
}
return
true
;
}
static
bool
TicTacToeTest
(
int
[,]
spielbrett
,
int
x
,
int
y
,
int
zOff1
,
int
sOff1
,
int
zOff2
,
int
sOff2
)
{
return
true
;
}
static
void
Main
(
string
[]
args
)
{
int
[]
Kniffel
=
new
int
[
10
];
Kniffeltest
(
Kniffel
);
int
[,]
offsets
=
{
{
0
,
-
1
,
0
,
+
1
},
{
0
,
1
,
0
,
2
}
};
//bool ticTacToe;
//int[,] spielfeld = new int[4, 5];
//ticTacToe = TicTacToeTest(spielfeld, 3, 2, 0, -1, 0, +1)
// || TicTacToeTest(spielfeld, 3, 2, 0, 1, 0, 2)
// || TicTacToeTest(spielfeld, 3, 2, 0, -1, 0, -2);
//for (int i = 0; i < 12; i++)
//{
// if (TicTacToeTest(spielfeld, 3, 2, offsets[i, 0], offsets[i, 1]))
// {
// ticTacToe = true;
// break;
// }
//}
{
}
}
}
}
06TicTacToe_Intro/Properties/AssemblyInfo.cs
0 → 100644
View file @
c734d1c9
using
System.Reflection
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.InteropServices
;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[
assembly
:
AssemblyTitle
(
"06TicTacToe_Intro"
)]
[
assembly
:
AssemblyDescription
(
""
)]
[
assembly
:
AssemblyConfiguration
(
""
)]
[
assembly
:
AssemblyCompany
(
""
)]
[
assembly
:
AssemblyProduct
(
"06TicTacToe_Intro"
)]
[
assembly
:
AssemblyCopyright
(
"Copyright © 2018"
)]
[
assembly
:
AssemblyTrademark
(
""
)]
[
assembly
:
AssemblyCulture
(
""
)]
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
[
assembly
:
ComVisible
(
false
)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[
assembly
:
Guid
(
"38a6dc3f-b05d-4437-bb84-96c2a2e6d3e8"
)]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[
assembly
:
AssemblyVersion
(
"1.0.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.0.0.0"
)]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment