This commit is contained in:
2022-09-26 13:17:02 +02:00
parent 7f29cd32c8
commit 89d99babfd
29 changed files with 41 additions and 35 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><SourceFileCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Profile>Reach</Profile><Platform>DesktopGL</Platform><Config /><SourceFiles><File>C:/dev/Tic-Tac-Toe/Tic-Tac-Toe/Tic-Tac-Toe/Content/Textures/circle.png</File><File>C:/dev/Tic-Tac-Toe/Tic-Tac-Toe/Tic-Tac-Toe/Content/Textures/X.png</File></SourceFiles><DestFiles><File xsi:nil="true" /><File xsi:nil="true" /></DestFiles></SourceFileCollection> <?xml version="1.0" encoding="utf-8"?><SourceFileCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Profile>Reach</Profile><Platform>DesktopGL</Platform><Config /><SourceFiles><File>C:/dev/TicTacToe/Tic-Tac-Toe/Content/Textures/circle.png</File><File>C:/dev/TicTacToe/Tic-Tac-Toe/Content/Textures/X.png</File></SourceFiles><DestFiles><File xsi:nil="true" /><File xsi:nil="true" /></DestFiles></SourceFileCollection>

View File

@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><PipelineBuildEvent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SourceFile>C:/dev/Tic-Tac-Toe/Tic-Tac-Toe/Tic-Tac-Toe/Content/Textures/X.png</SourceFile><SourceTime>2022-09-21T09:28:35.420606+02:00</SourceTime><DestFile>C:/dev/Tic-Tac-Toe/Tic-Tac-Toe/Tic-Tac-Toe/Content/bin/DesktopGL/Content/Textures/X.xnb</DestFile><DestTime>2022-09-23T08:49:01.067381+02:00</DestTime><Importer>TextureImporter</Importer><ImporterTime>2022-07-26T13:44:56+02:00</ImporterTime><Processor>TextureProcessor</Processor><ProcessorTime>2022-07-26T13:44:56+02:00</ProcessorTime><Parameters><Key>ColorKeyColor</Key><Value>255,0,255,255</Value></Parameters><Parameters><Key>ColorKeyEnabled</Key><Value>True</Value></Parameters><Parameters><Key>GenerateMipmaps</Key><Value>False</Value></Parameters><Parameters><Key>PremultiplyAlpha</Key><Value>True</Value></Parameters><Parameters><Key>ResizeToPowerOfTwo</Key><Value>False</Value></Parameters><Parameters><Key>MakeSquare</Key><Value>False</Value></Parameters><Parameters><Key>TextureFormat</Key><Value>Color</Value></Parameters><Dependencies /><BuildAsset /><BuildOutput /></PipelineBuildEvent> <?xml version="1.0" encoding="utf-8"?><PipelineBuildEvent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SourceFile>C:/dev/TicTacToe/Tic-Tac-Toe/Content/Textures/X.png</SourceFile><SourceTime>2022-09-21T13:10:39.0278565+02:00</SourceTime><DestFile>C:/dev/TicTacToe/Tic-Tac-Toe/Content/bin/DesktopGL/Content/Textures/X.xnb</DestFile><DestTime>2022-09-23T12:49:03.469529+02:00</DestTime><Importer>TextureImporter</Importer><ImporterTime>2022-07-26T13:44:56+02:00</ImporterTime><Processor>TextureProcessor</Processor><ProcessorTime>2022-07-26T13:44:56+02:00</ProcessorTime><Parameters><Key>ColorKeyColor</Key><Value>255,0,255,255</Value></Parameters><Parameters><Key>ColorKeyEnabled</Key><Value>True</Value></Parameters><Parameters><Key>GenerateMipmaps</Key><Value>False</Value></Parameters><Parameters><Key>PremultiplyAlpha</Key><Value>True</Value></Parameters><Parameters><Key>ResizeToPowerOfTwo</Key><Value>False</Value></Parameters><Parameters><Key>MakeSquare</Key><Value>False</Value></Parameters><Parameters><Key>TextureFormat</Key><Value>Color</Value></Parameters><Dependencies /><BuildAsset /><BuildOutput /></PipelineBuildEvent>

View File

@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><PipelineBuildEvent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SourceFile>C:/dev/Tic-Tac-Toe/Tic-Tac-Toe/Tic-Tac-Toe/Content/Textures/circle.png</SourceFile><SourceTime>2022-09-21T09:27:30.8441469+02:00</SourceTime><DestFile>C:/dev/Tic-Tac-Toe/Tic-Tac-Toe/Tic-Tac-Toe/Content/bin/DesktopGL/Content/Textures/circle.xnb</DestFile><DestTime>2022-09-23T08:49:00.8300161+02:00</DestTime><Importer>TextureImporter</Importer><ImporterTime>2022-07-26T13:44:56+02:00</ImporterTime><Processor>TextureProcessor</Processor><ProcessorTime>2022-07-26T13:44:56+02:00</ProcessorTime><Parameters><Key>ColorKeyColor</Key><Value>255,0,255,255</Value></Parameters><Parameters><Key>ColorKeyEnabled</Key><Value>True</Value></Parameters><Parameters><Key>GenerateMipmaps</Key><Value>False</Value></Parameters><Parameters><Key>PremultiplyAlpha</Key><Value>True</Value></Parameters><Parameters><Key>ResizeToPowerOfTwo</Key><Value>False</Value></Parameters><Parameters><Key>MakeSquare</Key><Value>False</Value></Parameters><Parameters><Key>TextureFormat</Key><Value>Color</Value></Parameters><Dependencies /><BuildAsset /><BuildOutput /></PipelineBuildEvent> <?xml version="1.0" encoding="utf-8"?><PipelineBuildEvent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SourceFile>C:/dev/TicTacToe/Tic-Tac-Toe/Content/Textures/circle.png</SourceFile><SourceTime>2022-09-21T13:10:39.0288563+02:00</SourceTime><DestFile>C:/dev/TicTacToe/Tic-Tac-Toe/Content/bin/DesktopGL/Content/Textures/circle.xnb</DestFile><DestTime>2022-09-23T12:49:03.3765279+02:00</DestTime><Importer>TextureImporter</Importer><ImporterTime>2022-07-26T13:44:56+02:00</ImporterTime><Processor>TextureProcessor</Processor><ProcessorTime>2022-07-26T13:44:56+02:00</ProcessorTime><Parameters><Key>ColorKeyColor</Key><Value>255,0,255,255</Value></Parameters><Parameters><Key>ColorKeyEnabled</Key><Value>True</Value></Parameters><Parameters><Key>GenerateMipmaps</Key><Value>False</Value></Parameters><Parameters><Key>PremultiplyAlpha</Key><Value>True</Value></Parameters><Parameters><Key>ResizeToPowerOfTwo</Key><Value>False</Value></Parameters><Parameters><Key>MakeSquare</Key><Value>False</Value></Parameters><Parameters><Key>TextureFormat</Key><Value>Color</Value></Parameters><Dependencies /><BuildAsset /><BuildOutput /></PipelineBuildEvent>

View File

@@ -58,7 +58,7 @@ namespace Tic_Tac_Toe {
mouse = Mouse.GetState(); mouse = Mouse.GetState();
if (isCircleNext) { if (isCircleNext) {
if (rectArray[i, j].Contains(new Point(mouse.X, mouse.Y)) && mouse.LeftButton == ButtonState.Pressed && CircleXPostion[i, j] == 0) { if (rectArray[i, j].Contains(new Point(mouse.X, mouse.Y)) && mouse.LeftButton == ButtonState.Pressed && CircleXPostion[i, j] == 0) {
CircleXPostion[i, j] = 1; //eltároljuk a kör pozicióját CircleXPostion[i, j] = 1; //eltároljuk a kör pozicióját ||| CHANGED FROM [i,j]
isCircleNext = false; isCircleNext = false;
printGameStateArray(); printGameStateArray();
//System.Threading.Thread.Sleep(250); //System.Threading.Thread.Sleep(250);

View File

@@ -7,4 +7,4 @@ build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly = build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Tic-Tac-Toe build_property.RootNamespace = Tic-Tac-Toe
build_property.ProjectDir = C:\dev\Tic-Tac-Toe\Tic-Tac-Toe\Tic-Tac-Toe\ build_property.ProjectDir = C:\dev\TicTacToe\Tic-Tac-Toe\

View File

@@ -1 +1 @@
49ea2ed5c729f2873ce8c9bab9d8ac8bf6d62d37 80ed391d657f3c303f055e186879a6526afc8c2a

View File

@@ -1 +1 @@
78cf6624164e28b8b141900b6433fc2d5b05376c 4e52a4edb25d79a113b56c9a4b055c1c004afaba

View File

@@ -1,23 +1,23 @@
{ {
"format": 1, "format": 1,
"restore": { "restore": {
"C:\\dev\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj": {} "C:\\dev\\TicTacToe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj": {}
}, },
"projects": { "projects": {
"C:\\dev\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj": { "C:\\dev\\TicTacToe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\dev\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj", "projectUniqueName": "C:\\dev\\TicTacToe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj",
"projectName": "Tic-Tac-Toe", "projectName": "Tic-Tac-Toe",
"projectPath": "C:\\dev\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj", "projectPath": "C:\\dev\\TicTacToe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj",
"packagesPath": "C:\\Users\\Tamás\\.nuget\\packages\\", "packagesPath": "C:\\Users\\Tom\\.nuget\\packages\\",
"outputPath": "C:\\dev\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe\\obj\\", "outputPath": "C:\\dev\\TicTacToe\\Tic-Tac-Toe\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
], ],
"configFilePaths": [ "configFilePaths": [
"C:\\Users\\Tamás\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Users\\Tom\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
], ],
@@ -63,7 +63,8 @@
"net47", "net47",
"net471", "net471",
"net472", "net472",
"net48" "net48",
"net481"
], ],
"assetTargetFallback": true, "assetTargetFallback": true,
"warn": true, "warn": true,
@@ -72,7 +73,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.300\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.401\\RuntimeIdentifierGraph.json"
} }
} }
} }

View File

@@ -5,12 +5,12 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Tamás\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Tom\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.2.0</NuGetToolVersion> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.0</NuGetToolVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Tamás\.nuget\packages\" /> <SourceRoot Include="C:\Users\Tom\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" /> <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">

View File

@@ -132,10 +132,14 @@
"Newtonsoft.Json/12.0.3": { "Newtonsoft.Json/12.0.3": {
"type": "package", "type": "package",
"compile": { "compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {} "lib/netstandard2.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
}, },
"runtime": { "runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {} "lib/netstandard2.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
} }
} }
} }
@@ -253,23 +257,23 @@
] ]
}, },
"packageFolders": { "packageFolders": {
"C:\\Users\\Tamás\\.nuget\\packages\\": {}, "C:\\Users\\Tom\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
}, },
"project": { "project": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "C:\\dev\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj", "projectUniqueName": "C:\\dev\\TicTacToe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj",
"projectName": "Tic-Tac-Toe", "projectName": "Tic-Tac-Toe",
"projectPath": "C:\\dev\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj", "projectPath": "C:\\dev\\TicTacToe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj",
"packagesPath": "C:\\Users\\Tamás\\.nuget\\packages\\", "packagesPath": "C:\\Users\\Tom\\.nuget\\packages\\",
"outputPath": "C:\\dev\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe\\obj\\", "outputPath": "C:\\dev\\TicTacToe\\Tic-Tac-Toe\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
], ],
"configFilePaths": [ "configFilePaths": [
"C:\\Users\\Tamás\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Users\\Tom\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
], ],
@@ -315,7 +319,8 @@
"net47", "net47",
"net471", "net471",
"net472", "net472",
"net48" "net48",
"net481"
], ],
"assetTargetFallback": true, "assetTargetFallback": true,
"warn": true, "warn": true,
@@ -324,7 +329,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.300\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.401\\RuntimeIdentifierGraph.json"
} }
} }
} }

View File

@@ -1,13 +1,13 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "RHuuWIy2H62JdnsMNnjcTpvwZngbDg4pl1sGVvtRnHlJ/72kz8NCh9yz64ZT4TKXT6ZzPqZ9fLbN9zHyLvJEjA==", "dgSpecHash": "foV3ppYos8jWQqFRYMqV2U8Dk1HgTKM0wjCjQVPWj+oN7Hu7XdE6+LA4LpGjldouEJWrAYrDdl/e+7bHlLzkOQ==",
"success": true, "success": true,
"projectFilePath": "C:\\dev\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj", "projectFilePath": "C:\\dev\\TicTacToe\\Tic-Tac-Toe\\Tic-Tac-Toe.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
"C:\\Users\\Tamás\\.nuget\\packages\\monogame.content.builder.task\\3.8.1.303\\monogame.content.builder.task.3.8.1.303.nupkg.sha512", "C:\\Users\\Tom\\.nuget\\packages\\monogame.content.builder.task\\3.8.1.303\\monogame.content.builder.task.3.8.1.303.nupkg.sha512",
"C:\\Users\\Tamás\\.nuget\\packages\\monogame.extended\\3.8.0\\monogame.extended.3.8.0.nupkg.sha512", "C:\\Users\\Tom\\.nuget\\packages\\monogame.extended\\3.8.0\\monogame.extended.3.8.0.nupkg.sha512",
"C:\\Users\\Tamás\\.nuget\\packages\\monogame.framework.desktopgl\\3.8.1.303\\monogame.framework.desktopgl.3.8.1.303.nupkg.sha512", "C:\\Users\\Tom\\.nuget\\packages\\monogame.framework.desktopgl\\3.8.1.303\\monogame.framework.desktopgl.3.8.1.303.nupkg.sha512",
"C:\\Users\\Tamás\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512" "C:\\Users\\Tom\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512"
], ],
"logs": [] "logs": []
} }