drawing the circle and x

This commit is contained in:
2022-09-21 16:04:22 +02:00
parent 807cf84f8b
commit c6a8a9cb6e
34 changed files with 104 additions and 51 deletions

Binary file not shown.

Binary file not shown.

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-21T09:41:34.4258436+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-21T15:42:37.3796129+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-21T09:41:34.2979772+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-21T15:42:37.2876128+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

@@ -8,7 +8,10 @@ namespace Tic_Tac_Toe {
private GraphicsDeviceManager _graphics; private GraphicsDeviceManager _graphics;
private SpriteBatch _spriteBatch; private SpriteBatch _spriteBatch;
private RectangleF[,] rectArray; private RectangleF[,] rectArray;
private int[] CircleXPostion; private int[,] CircleXPostion;
private bool isCircleNext = true;
private int lineThickess = 5;
private Texture2D Circle, X;
public Game1() { public Game1() {
_graphics = new GraphicsDeviceManager(this); _graphics = new GraphicsDeviceManager(this);
@@ -20,12 +23,13 @@ namespace Tic_Tac_Toe {
// TODO: Add your initialization logic here // TODO: Add your initialization logic here
//Setting Resolution //Setting Resolution
this._graphics.PreferredBackBufferWidth = 800; _graphics.PreferredBackBufferWidth = 800;
this._graphics.PreferredBackBufferHeight = 600; _graphics.PreferredBackBufferHeight = 600;
this._graphics.ApplyChanges(); _graphics.ApplyChanges();
//For field //For field
rectArray = new RectangleF[3,3]; rectArray = new RectangleF[3,3];
CircleXPostion = new int[3, 3]; //0 is free space, 1 is circle, 2 is X
base.Initialize(); base.Initialize();
} }
@@ -34,6 +38,9 @@ namespace Tic_Tac_Toe {
_spriteBatch = new SpriteBatch(GraphicsDevice); _spriteBatch = new SpriteBatch(GraphicsDevice);
// TODO: use this.Content to load your game content here // TODO: use this.Content to load your game content here
Circle = Content.Load<Texture2D>("Textures/circle");
X = Content.Load<Texture2D>("Textures/X");
} }
protected override void Update(GameTime gameTime) { protected override void Update(GameTime gameTime) {
@@ -46,35 +53,46 @@ namespace Tic_Tac_Toe {
} }
protected override void Draw(GameTime gameTime) { protected override void Draw(GameTime gameTime) {
GraphicsDevice.Clear(Color.Black); GraphicsDevice.Clear(Color.CadetBlue);
// TODO: Add your drawing code here // TODO: Add your drawing code here
_spriteBatch.Begin(); _spriteBatch.Begin();
DrawTicTacToeFieldRect(rectArray, Color.White); DrawTicTacToeFieldRect(rectArray, Color.LightGray);
//checking if mouse is in a rect
for (int i = 0; i < rectArray.GetLength(0); i++) { for (int i = 0; i < rectArray.GetLength(0); i++) {
for (int j = 0; j < rectArray.GetLength(1); j++) { for (int j = 0; j < rectArray.GetLength(1); j++) {
var mouse = Mouse.GetState(); var mouse = Mouse.GetState();
if (rectArray[i, j].Contains(new Point(mouse.X, mouse.Y))) { if (isCircleNext) { //Circle player highlight
DrawSingleRect(rectArray, Color.Red, i, j); if (rectArray[i, j].Contains(new Point(mouse.X, mouse.Y))) {
DrawSingleRect(rectArray, Color.Red, i, j);
}
} else { //X player highlight
if (rectArray[i, j].Contains(new Point(mouse.X, mouse.Y))) {
DrawSingleRect(rectArray, Color.Green, i, j);
}
} }
} }
} }
_spriteBatch.Draw(Circle, new Rectangle(100, 0, 200, 200), Color.White);
_spriteBatch.Draw(X, new Rectangle(300, 0, 200, 200), Color.White);
_spriteBatch.End(); _spriteBatch.End();
base.Draw(gameTime); base.Draw(gameTime);
} }
public void DrawTicTacToeField() { /*public void DrawTicTacToeField() {
//drawing the field //drawing the field
//Vertical Lines //Vertical Lines
_spriteBatch.DrawLine(250, 0, 250, _graphics.PreferredBackBufferHeight, Color.White, 10, 0); _spriteBatch.DrawLine(250, 0, 250, _graphics.PreferredBackBufferHeight, Color.White, lineThickness, 0);
_spriteBatch.DrawLine(550, 0, 550, _graphics.PreferredBackBufferHeight, Color.White, 10, 0); _spriteBatch.DrawLine(550, 0, 550, _graphics.PreferredBackBufferHeight, Color.White, lineThickness, 0);
//Horizontal Lines //Horizontal Lines
_spriteBatch.DrawLine(0, 200, _graphics.PreferredBackBufferWidth, 200, Color.White, 10, 0); _spriteBatch.DrawLine(0, 200, _graphics.PreferredBackBufferWidth, 200, Color.White, lineThickness, 0);
_spriteBatch.DrawLine(0, 400, _graphics.PreferredBackBufferWidth, 400, Color.White, 10, 0); _spriteBatch.DrawLine(0, 400, _graphics.PreferredBackBufferWidth, 400, Color.White, lineThickness, 0);
} }*/
private void DrawTicTacToeFieldRect(RectangleF[,] rectArray, Color color) { private void DrawTicTacToeFieldRect(RectangleF[,] rectArray, Color color) {
//do a base rectangle, pass in a 2d rect array to get rect.contains //do a base rectangle, pass in a 2d rect array to get rect.contains
@@ -83,13 +101,13 @@ namespace Tic_Tac_Toe {
for (int i = 0; i < rectArray.GetLength(0); i++) { for (int i = 0; i < rectArray.GetLength(0); i++) {
for (int j = 0; j < rectArray.GetLength(1); j++) { for (int j = 0; j < rectArray.GetLength(1); j++) {
rectArray[i, j] = new RectangleF(size * i + 100, size*j, size, size); //+100 is offset rectArray[i, j] = new RectangleF(size * i + 100, size*j, size, size); //+100 is offset
_spriteBatch.DrawRectangle(rectArray[i, j], color, 10, 0); _spriteBatch.DrawRectangle(rectArray[i, j], color, lineThickess, 0);
} }
} }
} }
private void DrawSingleRect(RectangleF[,] rectArray, Color color, int x, int y) { private void DrawSingleRect(RectangleF[,] rectArray, Color color, int indexX, int indexY) {
_spriteBatch.DrawRectangle(rectArray[x, y], color, 10, 0); _spriteBatch.DrawRectangle(rectArray[indexX, indexY], color, lineThickess, 0);
} }
} }
} }

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

@@ -27,3 +27,32 @@ C:\dev\Tic-Tac-Toe\Tic-Tac-Toe\Tic-Tac-Toe\bin\Debug\net6.0\Content\Textures\cir
C:\dev\Tic-Tac-Toe\Tic-Tac-Toe\Tic-Tac-Toe\bin\Debug\net6.0\Content\Textures\X.xnb C:\dev\Tic-Tac-Toe\Tic-Tac-Toe\Tic-Tac-Toe\bin\Debug\net6.0\Content\Textures\X.xnb
C:\dev\Tic-Tac-Toe\Tic-Tac-Toe\Tic-Tac-Toe\bin\Debug\net6.0\MonoGame.Extended.dll C:\dev\Tic-Tac-Toe\Tic-Tac-Toe\Tic-Tac-Toe\bin\Debug\net6.0\MonoGame.Extended.dll
C:\dev\Tic-Tac-Toe\Tic-Tac-Toe\Tic-Tac-Toe\bin\Debug\net6.0\Newtonsoft.Json.dll C:\dev\Tic-Tac-Toe\Tic-Tac-Toe\Tic-Tac-Toe\bin\Debug\net6.0\Newtonsoft.Json.dll
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\Content\Textures\circle.xnb
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\Content\Textures\X.xnb
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\Tic-Tac-Toe.exe
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\Tic-Tac-Toe.deps.json
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\Tic-Tac-Toe.runtimeconfig.json
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\Tic-Tac-Toe.dll
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\Tic-Tac-Toe.pdb
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\MonoGame.Extended.dll
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\MonoGame.Framework.dll
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\Newtonsoft.Json.dll
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\runtimes\linux-x64\native\libSDL2-2.0.so.0
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\runtimes\linux-x64\native\libopenal.so.1
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\runtimes\osx\native\libSDL2.dylib
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\runtimes\osx\native\libopenal.1.dylib
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\runtimes\win-x64\native\SDL2.dll
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\runtimes\win-x64\native\soft_oal.dll
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\runtimes\win-x86\native\SDL2.dll
C:\dev\TicTacToe\Tic-Tac-Toe\bin\Debug\net6.0\runtimes\win-x86\native\soft_oal.dll
C:\dev\TicTacToe\Tic-Tac-Toe\obj\Debug\net6.0\Tic-Tac-Toe.csproj.AssemblyReference.cache
C:\dev\TicTacToe\Tic-Tac-Toe\obj\Debug\net6.0\Tic-Tac-Toe.GeneratedMSBuildEditorConfig.editorconfig
C:\dev\TicTacToe\Tic-Tac-Toe\obj\Debug\net6.0\Tic-Tac-Toe.AssemblyInfoInputs.cache
C:\dev\TicTacToe\Tic-Tac-Toe\obj\Debug\net6.0\Tic-Tac-Toe.AssemblyInfo.cs
C:\dev\TicTacToe\Tic-Tac-Toe\obj\Debug\net6.0\Tic-Tac-Toe.csproj.CoreCompileInputs.cache
C:\dev\TicTacToe\Tic-Tac-Toe\obj\Debug\net6.0\Tic-Tac-Toe.csproj.CopyComplete
C:\dev\TicTacToe\Tic-Tac-Toe\obj\Debug\net6.0\Tic-Tac-Toe.dll
C:\dev\TicTacToe\Tic-Tac-Toe\obj\Debug\net6.0\refint\Tic-Tac-Toe.dll
C:\dev\TicTacToe\Tic-Tac-Toe\obj\Debug\net6.0\Tic-Tac-Toe.pdb
C:\dev\TicTacToe\Tic-Tac-Toe\obj\Debug\net6.0\Tic-Tac-Toe.genruntimeconfig.cache
C:\dev\TicTacToe\Tic-Tac-Toe\obj\Debug\net6.0\ref\Tic-Tac-Toe.dll

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": []
} }