Server name resp
This commit is contained in:
Mootfrost777 2022-04-23 15:10:25 +03:00
parent 3a16299605
commit a25e69e92b
77 changed files with 491 additions and 80 deletions

View file

BIN
.vs/Bowling/v17/.suo Normal file

Binary file not shown.

View file

@ -7,7 +7,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bowling", "Bowling\Bowling.
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bowling_Server", "Bowling_Server\Bowling_Server.csproj", "{801C5FBA-4AA1-4A00-A1B2-386D3352B9F8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NetLib", "BowlingNetLib\NetLib.csproj", "{8F4FCE29-064E-45E4-AF43-87F31420EF2F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetLib", "BowlingNetLib\NetLib.csproj", "{8F4FCE29-064E-45E4-AF43-87F31420EF2F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Serializer", "Serializer\Serializer.csproj", "{37BE0268-E042-4FCD-973E-0BB9767F1768}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -27,6 +29,10 @@ Global
{8F4FCE29-064E-45E4-AF43-87F31420EF2F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8F4FCE29-064E-45E4-AF43-87F31420EF2F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8F4FCE29-064E-45E4-AF43-87F31420EF2F}.Release|Any CPU.Build.0 = Release|Any CPU
{37BE0268-E042-4FCD-973E-0BB9767F1768}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{37BE0268-E042-4FCD-973E-0BB9767F1768}.Debug|Any CPU.Build.0 = Debug|Any CPU
{37BE0268-E042-4FCD-973E-0BB9767F1768}.Release|Any CPU.ActiveCfg = Release|Any CPU
{37BE0268-E042-4FCD-973E-0BB9767F1768}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View file

@ -8,6 +8,7 @@ using NetLib;
namespace Bowling.Classes
{
[Serializable]
internal class Player
{
[JsonProperty("name")]
@ -22,7 +23,7 @@ namespace Bowling.Classes
this.name = name;
score = new List<int>();
}
public string Serialize()
{
return JsonConvert.SerializeObject(this);

View file

@ -4,11 +4,11 @@
<Platform>Windows</Platform>
<Config />
<SourceFiles>
<File>C:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/arrow.png</File>
<File>C:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/ball.png</File>
<File>C:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/gameFont.spritefont</File>
<File>C:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/keggle.png</File>
<File>C:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/logo.png</File>
<File>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/arrow.png</File>
<File>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/ball.png</File>
<File>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/gameFont.spritefont</File>
<File>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/keggle.png</File>
<File>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/logo.png</File>
</SourceFiles>
<DestFiles>
<File xsi:nil="true" />

View file

@ -1,9 +1,9 @@
<?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:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/arrow.png</SourceFile>
<SourceFile>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/arrow.png</SourceFile>
<SourceTime>2022-04-23T00:23:58+03:00</SourceTime>
<DestFile>C:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/bin/Windows/Content/arrow.xnb</DestFile>
<DestTime>2022-04-23T01:19:27.9631539+03:00</DestTime>
<DestFile>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/bin/Windows/Content/arrow.xnb</DestFile>
<DestTime>2022-04-23T14:37:53.6060668+03:00</DestTime>
<Importer>TextureImporter</Importer>
<ImporterTime>2020-08-10T16:17:54+03:00</ImporterTime>
<Processor>TextureProcessor</Processor>

View file

@ -1,9 +1,9 @@
<?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:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/ball.png</SourceFile>
<SourceFile>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/ball.png</SourceFile>
<SourceTime>2021-05-04T12:20:30+03:00</SourceTime>
<DestFile>C:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/bin/Windows/Content/ball.xnb</DestFile>
<DestTime>2022-04-23T01:20:42.972247+03:00</DestTime>
<DestFile>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/bin/Windows/Content/ball.xnb</DestFile>
<DestTime>2022-04-23T14:37:53.6352774+03:00</DestTime>
<Importer>TextureImporter</Importer>
<ImporterTime>2020-08-10T16:17:54+03:00</ImporterTime>
<Processor>TextureProcessor</Processor>

View file

@ -1,9 +1,9 @@
<?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:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/gameFont.spritefont</SourceFile>
<SourceFile>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/gameFont.spritefont</SourceFile>
<SourceTime>2011-04-01T09:42:38+04:00</SourceTime>
<DestFile>C:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/bin/Windows/Content/gameFont.xnb</DestFile>
<DestTime>2022-04-23T11:19:22.8024961+03:00</DestTime>
<DestFile>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/bin/Windows/Content/gameFont.xnb</DestFile>
<DestTime>2022-04-23T14:37:53.9252301+03:00</DestTime>
<Importer>FontDescriptionImporter</Importer>
<ImporterTime>2020-08-10T16:17:54+03:00</ImporterTime>
<Processor>FontDescriptionProcessor</Processor>

View file

@ -1,9 +1,9 @@
<?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:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/keggle.png</SourceFile>
<SourceFile>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/keggle.png</SourceFile>
<SourceTime>2022-04-23T00:12:43.2915834+03:00</SourceTime>
<DestFile>C:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/bin/Windows/Content/keggle.xnb</DestFile>
<DestTime>2022-04-23T00:13:13.414141+03:00</DestTime>
<DestFile>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/bin/Windows/Content/keggle.xnb</DestFile>
<DestTime>2022-04-23T14:37:54.0070101+03:00</DestTime>
<Importer>TextureImporter</Importer>
<ImporterTime>2020-08-10T16:17:54+03:00</ImporterTime>
<Processor>TextureProcessor</Processor>

View file

@ -1,9 +1,9 @@
<?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:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/logo.png</SourceFile>
<SourceFile>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/logo.png</SourceFile>
<SourceTime>2022-04-23T11:30:44.0139383+03:00</SourceTime>
<DestFile>C:/Users/Semejkin_AV/source/repos/Bowling/Bowling/Content/bin/Windows/Content/logo.xnb</DestFile>
<DestTime>2022-04-23T11:30:50.4419638+03:00</DestTime>
<DestFile>C:/Users/Semejkin_AV/Documents/Github_repos/ProgtimeHack2022_Bowling/Bowling/Content/bin/Windows/Content/logo.xnb</DestFile>
<DestTime>2022-04-23T14:37:54.0600936+03:00</DestTime>
<Importer>TextureImporter</Importer>
<ImporterTime>2020-08-10T16:17:54+03:00</ImporterTime>
<Processor>TextureProcessor</Processor>

View file

@ -105,6 +105,7 @@ namespace Bowling
NetLib.NetLib.port = connect.Port;
NetLib.NetLib.Connect();
NetLib.NetLib.Send(player.Serialize());
System.Console.WriteLine(NetLib.NetLib.Receive());
}
else { gameState = GameState.Exit; }
break;

View file

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling\\Bowling.csproj": {}
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling\\Bowling.csproj": {}
},
"projects": {
"C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj": {
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj",
"projectUniqueName": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj",
"projectName": "NetLib",
"projectPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj",
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj",
"packagesPath": "C:\\Users\\Semejkin_AV\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\obj\\",
"outputPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Semejkin_AV\\AppData\\Roaming\\NuGet\\NuGet.Config",
@ -64,14 +64,14 @@
}
}
},
"C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling\\Bowling.csproj": {
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling\\Bowling.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling\\Bowling.csproj",
"projectUniqueName": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling\\Bowling.csproj",
"projectName": "Bowling",
"projectPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling\\Bowling.csproj",
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling\\Bowling.csproj",
"packagesPath": "C:\\Users\\Semejkin_AV\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling\\obj\\",
"outputPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Semejkin_AV\\AppData\\Roaming\\NuGet\\NuGet.Config",
@ -88,8 +88,8 @@
"netcoreapp3.1": {
"targetAlias": "netcoreapp3.1",
"projectReferences": {
"C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj": {
"projectPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj"
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj": {
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj"
}
}
}

View file

@ -6,4 +6,4 @@ build_property.ApplicationHighDpiMode =
build_property.ApplicationUseCompatibleTextRendering =
build_property.ApplicationVisualStyles =
build_property.RootNamespace = Bowling
build_property.ProjectDir = C:\Users\Semejkin_AV\source\repos\Bowling\Bowling\
build_property.ProjectDir = C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\

View file

@ -1 +1 @@
2741def5807c512e133355de92f09d1cb61254c1
dae4b27be8ea9f7095c2239ef3599b7d9ec79e0c

View file

@ -45,3 +45,50 @@ C:\Users\Semejkin_AV\source\repos\Bowling\Bowling\obj\Debug\netcoreapp3.1\Bowlin
C:\Users\Semejkin_AV\source\repos\Bowling\Bowling\bin\Debug\netcoreapp3.1\Newtonsoft.Json.dll
C:\Users\Semejkin_AV\source\repos\Bowling\Bowling\bin\Debug\netcoreapp3.1\NetLib.dll
C:\Users\Semejkin_AV\source\repos\Bowling\Bowling\bin\Debug\netcoreapp3.1\NetLib.pdb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Content\arrow.xnb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Content\ball.xnb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Content\gameFont.xnb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Content\keggle.xnb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Content\logo.xnb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Bowling.exe
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Bowling.deps.json
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Bowling.runtimeconfig.json
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Bowling.runtimeconfig.dev.json
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Bowling.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Bowling.pdb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Microsoft.CodeAnalysis.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Microsoft.CodeAnalysis.CSharp.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Microsoft.CodeAnalysis.VisualBasic.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Microsoft.VisualBasic.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\MonoGame.Framework.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\Newtonsoft.Json.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\SharpDX.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\SharpDX.Direct2D1.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\SharpDX.Direct3D11.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\SharpDX.Direct3D9.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\SharpDX.DXGI.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\SharpDX.Mathematics.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\SharpDX.MediaFoundation.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\SharpDX.XAudio2.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\SharpDX.XInput.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\runtimes\debian-x64\native\libuv.so
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\runtimes\fedora-x64\native\libuv.so
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\runtimes\opensuse-x64\native\libuv.so
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\runtimes\osx\native\libuv.dylib
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\runtimes\rhel-x64\native\libuv.so
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\runtimes\win7-arm\native\libuv.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\runtimes\win7-x64\native\libuv.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\runtimes\win7-x86\native\libuv.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\NetLib.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\bin\Debug\netcoreapp3.1\NetLib.pdb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\obj\Debug\netcoreapp3.1\Bowling.csproj.AssemblyReference.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\obj\Debug\netcoreapp3.1\Bowling.Connect.resources
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\obj\Debug\netcoreapp3.1\Bowling.csproj.GenerateResource.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\obj\Debug\netcoreapp3.1\Bowling.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\obj\Debug\netcoreapp3.1\Bowling.AssemblyInfoInputs.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\obj\Debug\netcoreapp3.1\Bowling.AssemblyInfo.cs
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\obj\Debug\netcoreapp3.1\Bowling.csproj.CoreCompileInputs.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\obj\Debug\netcoreapp3.1\Bowling.csproj.CopyComplete
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\obj\Debug\netcoreapp3.1\Bowling.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\obj\Debug\netcoreapp3.1\Bowling.pdb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling\obj\Debug\netcoreapp3.1\Bowling.genruntimeconfig.cache

View file

@ -1 +1 @@
d8f130abdd86115fdd230f20d83cb7d57e0f0b52
a432b769b6058693c28edb96b2adee2d4f085082

View file

@ -7441,11 +7441,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling\\Bowling.csproj",
"projectUniqueName": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling\\Bowling.csproj",
"projectName": "Bowling",
"projectPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling\\Bowling.csproj",
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling\\Bowling.csproj",
"packagesPath": "C:\\Users\\Semejkin_AV\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling\\obj\\",
"outputPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Semejkin_AV\\AppData\\Roaming\\NuGet\\NuGet.Config",
@ -7462,8 +7462,8 @@
"netcoreapp3.1": {
"targetAlias": "netcoreapp3.1",
"projectReferences": {
"C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj": {
"projectPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj"
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj": {
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj"
}
}
}

View file

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "3koAx57pqT6amCrjG9aTOKsfpwKuWVV9FjEZWz5WUyCMyWhZKoLvZPZ9nY3OdOP+VVYQsZSmfZahSYQu5Bgv/A==",
"dgSpecHash": "2bg7gzIa3zKLg9poi99a0ETJb0CiV69daH/VrmGZxD/dIt4koHt8PU2WyunLoDx9b/izWuN40bWpeOFqFhd6rA==",
"success": true,
"projectFilePath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling\\Bowling.csproj",
"projectFilePath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling\\Bowling.csproj",
"expectedPackageFiles": [
"C:\\Users\\Semejkin_AV\\.nuget\\packages\\libuv\\1.9.1\\libuv.1.9.1.nupkg.sha512",
"C:\\Users\\Semejkin_AV\\.nuget\\packages\\microsoft.codeanalysis.analyzers\\1.1.0\\microsoft.codeanalysis.analyzers.1.1.0.nupkg.sha512",

View file

@ -1,3 +1,3 @@
is_global = true
build_property.RootNamespace = NetLib
build_property.ProjectDir = C:\Users\Semejkin_AV\source\repos\Bowling\BowlingNetLib\
build_property.ProjectDir = C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\BowlingNetLib\

View file

@ -8,3 +8,13 @@ C:\Users\Semejkin_AV\source\repos\Bowling\BowlingNetLib\obj\Debug\netcoreapp3.1\
C:\Users\Semejkin_AV\source\repos\Bowling\BowlingNetLib\obj\Debug\netcoreapp3.1\NetLib.csproj.CoreCompileInputs.cache
C:\Users\Semejkin_AV\source\repos\Bowling\BowlingNetLib\obj\Debug\netcoreapp3.1\NetLib.dll
C:\Users\Semejkin_AV\source\repos\Bowling\BowlingNetLib\obj\Debug\netcoreapp3.1\NetLib.pdb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\BowlingNetLib\bin\Debug\netcoreapp3.1\NetLib.deps.json
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\BowlingNetLib\bin\Debug\netcoreapp3.1\NetLib.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\BowlingNetLib\bin\Debug\netcoreapp3.1\NetLib.pdb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\BowlingNetLib\obj\Debug\netcoreapp3.1\NetLib.csproj.AssemblyReference.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\BowlingNetLib\obj\Debug\netcoreapp3.1\NetLib.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\BowlingNetLib\obj\Debug\netcoreapp3.1\NetLib.AssemblyInfoInputs.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\BowlingNetLib\obj\Debug\netcoreapp3.1\NetLib.AssemblyInfo.cs
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\BowlingNetLib\obj\Debug\netcoreapp3.1\NetLib.csproj.CoreCompileInputs.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\BowlingNetLib\obj\Debug\netcoreapp3.1\NetLib.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\BowlingNetLib\obj\Debug\netcoreapp3.1\NetLib.pdb

View file

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj": {}
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj": {}
},
"projects": {
"C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj": {
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj",
"projectUniqueName": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj",
"projectName": "NetLib",
"projectPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj",
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj",
"packagesPath": "C:\\Users\\Semejkin_AV\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\obj\\",
"outputPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Semejkin_AV\\AppData\\Roaming\\NuGet\\NuGet.Config",

View file

@ -53,11 +53,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj",
"projectUniqueName": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj",
"projectName": "NetLib",
"projectPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj",
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj",
"packagesPath": "C:\\Users\\Semejkin_AV\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\obj\\",
"outputPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Semejkin_AV\\AppData\\Roaming\\NuGet\\NuGet.Config",

View file

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "tj6d3GM2KPcBk2NtYs4+n0M9put13cT6anwGPd4IeP8OMFqbOKBJDV1yoNophJgo8EpPUbPjVHO+RxO+sQG+8Q==",
"dgSpecHash": "ODcV+XYjSRps62QvM/G3mlGg5SUpq0fntQIOF2YW3wDnrcZ/VFWwoHCsVzGHq07LBuoCVFV2ERkxSXYym53gog==",
"success": true,
"projectFilePath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj",
"projectFilePath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj",
"expectedPackageFiles": [
"C:\\Users\\Semejkin_AV\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512"
],

View file

@ -5,6 +5,7 @@ using Newtonsoft.Json;
namespace Bowling_Server.Classes
{
[Serializable]
internal class Player
{
[JsonProperty("name")]
@ -13,6 +14,7 @@ namespace Bowling_Server.Classes
[JsonProperty("score")]
public List<int> score { get; set; }
[NonSerialized]
public Socket socket;
public Player(string name)
@ -24,7 +26,7 @@ namespace Bowling_Server.Classes
{
}
public string Serialize()
{
return JsonConvert.SerializeObject(this);

View file

@ -24,7 +24,7 @@ namespace Bowling_Server
{
while (true)
{
if (players.Count % 2 == 0)
if (players.Count % 2 == 0 && players.Count > 0)
{
List<Player> group = new List<Player>();
for (int i = 0; i < 2; i++)
@ -64,15 +64,29 @@ namespace Bowling_Server
socket.Bind(ipe);
socket.Listen(2);
}
public static void Send(string message)
public static void Send(string message, Socket client)
{
byte[] data = Encoding.ASCII.GetBytes(message);
socket.Send(data);
client.Send(data);
}
static void CastOpponents(List<Player> group)
{
foreach (Player player in group)
{
foreach (Player opponent in group)
{
if (opponent != player)
{
Send(opponent.Serialize(), player.socket);
}
}
}
}
static void StartGame(List<Player> group)
{
Console.WriteLine("OK");
CastOpponents(group);
}
}
}

View file

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling_Server\\Bowling_Server.csproj": {}
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling_Server\\Bowling_Server.csproj": {}
},
"projects": {
"C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj": {
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj",
"projectUniqueName": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj",
"projectName": "NetLib",
"projectPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj",
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj",
"packagesPath": "C:\\Users\\Semejkin_AV\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\obj\\",
"outputPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Semejkin_AV\\AppData\\Roaming\\NuGet\\NuGet.Config",
@ -64,14 +64,14 @@
}
}
},
"C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling_Server\\Bowling_Server.csproj": {
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling_Server\\Bowling_Server.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling_Server\\Bowling_Server.csproj",
"projectUniqueName": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling_Server\\Bowling_Server.csproj",
"projectName": "Bowling_Server",
"projectPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling_Server\\Bowling_Server.csproj",
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling_Server\\Bowling_Server.csproj",
"packagesPath": "C:\\Users\\Semejkin_AV\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling_Server\\obj\\",
"outputPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling_Server\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Semejkin_AV\\AppData\\Roaming\\NuGet\\NuGet.Config",
@ -88,8 +88,8 @@
"net5.0": {
"targetAlias": "net5.0",
"projectReferences": {
"C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj": {
"projectPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj"
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj": {
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj"
}
}
}

View file

@ -7,4 +7,4 @@ build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Bowling_Server
build_property.ProjectDir = C:\Users\Semejkin_AV\source\repos\Bowling\Bowling_Server\
build_property.ProjectDir = C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\

View file

@ -1 +1 @@
42f9ac001f3b144287460681444e8d94011bcc19
0a8a367a1840957abd020535337063de69e80d79

View file

@ -18,3 +18,23 @@ C:\Users\Semejkin_AV\source\repos\Bowling\Bowling_Server\bin\Debug\net5.0\Newton
C:\Users\Semejkin_AV\source\repos\Bowling\Bowling_Server\bin\Debug\net5.0\NetLib.dll
C:\Users\Semejkin_AV\source\repos\Bowling\Bowling_Server\bin\Debug\net5.0\NetLib.pdb
C:\Users\Semejkin_AV\source\repos\Bowling\Bowling_Server\obj\Debug\net5.0\Bowling_Server.csproj.CopyComplete
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\bin\Debug\net5.0\Bowling_Server.exe
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\bin\Debug\net5.0\Bowling_Server.deps.json
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\bin\Debug\net5.0\Bowling_Server.runtimeconfig.json
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\bin\Debug\net5.0\Bowling_Server.runtimeconfig.dev.json
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\bin\Debug\net5.0\Bowling_Server.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\bin\Debug\net5.0\Bowling_Server.pdb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\bin\Debug\net5.0\Newtonsoft.Json.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\bin\Debug\net5.0\NetLib.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\bin\Debug\net5.0\NetLib.pdb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\obj\Debug\net5.0\Bowling_Server.csproj.AssemblyReference.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\obj\Debug\net5.0\Bowling_Server.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\obj\Debug\net5.0\Bowling_Server.AssemblyInfoInputs.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\obj\Debug\net5.0\Bowling_Server.AssemblyInfo.cs
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\obj\Debug\net5.0\Bowling_Server.csproj.CoreCompileInputs.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\obj\Debug\net5.0\Bowling_Server.csproj.CopyComplete
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\obj\Debug\net5.0\Bowling_Server.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\obj\Debug\net5.0\refint\Bowling_Server.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\obj\Debug\net5.0\Bowling_Server.pdb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\obj\Debug\net5.0\Bowling_Server.genruntimeconfig.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Bowling_Server\obj\Debug\net5.0\ref\Bowling_Server.dll

View file

@ -1 +1 @@
bbce496d358e04f324357b2bd05d0f6038e864da
e073255e46a0fc667f83d70f7f60f7f890c33d21

View file

@ -72,11 +72,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling_Server\\Bowling_Server.csproj",
"projectUniqueName": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling_Server\\Bowling_Server.csproj",
"projectName": "Bowling_Server",
"projectPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling_Server\\Bowling_Server.csproj",
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling_Server\\Bowling_Server.csproj",
"packagesPath": "C:\\Users\\Semejkin_AV\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling_Server\\obj\\",
"outputPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling_Server\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Semejkin_AV\\AppData\\Roaming\\NuGet\\NuGet.Config",
@ -93,8 +93,8 @@
"net5.0": {
"targetAlias": "net5.0",
"projectReferences": {
"C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj": {
"projectPath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\BowlingNetLib\\NetLib.csproj"
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj": {
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\BowlingNetLib\\NetLib.csproj"
}
}
}

View file

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "yTdbtSHNacl1DG4bOKN4X+ZYA1wHkYxDxEeyEmQLzUa4z/p6kmz8VKkV0G7oPtu89OJeH9U7axpIV1uhFfqEFg==",
"dgSpecHash": "2HO8lNBixWxmqaZlYrqKAVLxxhSnSCB7bFKxzSak9nH2NcYcTopQh6QA5XyJn8NUishXHgkughYvmnZR+pboBA==",
"success": true,
"projectFilePath": "C:\\Users\\Semejkin_AV\\source\\repos\\Bowling\\Bowling_Server\\Bowling_Server.csproj",
"projectFilePath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Bowling_Server\\Bowling_Server.csproj",
"expectedPackageFiles": [
"C:\\Users\\Semejkin_AV\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512",
"C:\\Users\\Semejkin_AV\\.nuget\\packages\\microsoft.netcore.app.host.win-x64\\5.0.15\\microsoft.netcore.app.host.win-x64.5.0.15.nupkg.sha512"

8
Serializer/Class1.cs Normal file
View file

@ -0,0 +1,8 @@
using System;
namespace Serializer
{
public class Serializer
{
}
}

View file

@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
</Project>

View file

@ -0,0 +1,41 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v3.1",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v3.1": {
"Serializer/1.0.0": {
"dependencies": {
"Newtonsoft.Json": "13.0.1"
},
"runtime": {
"Serializer.dll": {}
}
},
"Newtonsoft.Json/13.0.1": {
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.1.25517"
}
}
}
}
},
"libraries": {
"Serializer/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Newtonsoft.Json/13.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"path": "newtonsoft.json/13.0.1",
"hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
}
}
}

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")]

View file

@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Serializer")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Serializer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Serializer")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Создано классом WriteCodeFragment MSBuild.

View file

@ -0,0 +1 @@
8b3e2845a302b975a5c7952624b07da8863e1b60

View file

@ -0,0 +1,3 @@
is_global = true
build_property.RootNamespace = Serializer
build_property.ProjectDir = C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Serializer\

View file

@ -0,0 +1 @@
23463516560e1aa0ac3ff65d6dc313e3a18bfdb9

View file

@ -0,0 +1,10 @@
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Serializer\bin\Debug\netcoreapp3.1\Serializer.deps.json
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Serializer\bin\Debug\netcoreapp3.1\Serializer.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Serializer\bin\Debug\netcoreapp3.1\Serializer.pdb
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Serializer\obj\Debug\netcoreapp3.1\Serializer.csproj.AssemblyReference.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Serializer\obj\Debug\netcoreapp3.1\Serializer.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Serializer\obj\Debug\netcoreapp3.1\Serializer.AssemblyInfoInputs.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Serializer\obj\Debug\netcoreapp3.1\Serializer.AssemblyInfo.cs
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Serializer\obj\Debug\netcoreapp3.1\Serializer.csproj.CoreCompileInputs.cache
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Serializer\obj\Debug\netcoreapp3.1\Serializer.dll
C:\Users\Semejkin_AV\Documents\Github_repos\ProgtimeHack2022_Bowling\Serializer\obj\Debug\netcoreapp3.1\Serializer.pdb

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,68 @@
{
"format": 1,
"restore": {
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Serializer\\Serializer.csproj": {}
},
"projects": {
"C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Serializer\\Serializer.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Serializer\\Serializer.csproj",
"projectName": "Serializer",
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Serializer\\Serializer.csproj",
"packagesPath": "C:\\Users\\Semejkin_AV\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Serializer\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Semejkin_AV\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.1": {
"targetAlias": "netcoreapp3.1",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.1": {
"targetAlias": "netcoreapp3.1",
"dependencies": {
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.1, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.300-preview.22204.3\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(ExcludeRestorePackageImports)' != 'true'">
<RestoreSuccess Condition="'$(RestoreSuccess)' == ''">True</RestoreSuccess>
<RestoreTool Condition="'$(RestoreTool)' == ''">NuGet</RestoreTool>
<ProjectAssetsFile Condition="'$(ProjectAssetsFile)' == ''">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == ''">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition="'$(NuGetPackageFolders)' == ''">C:\Users\Semejkin_AV\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition="'$(NuGetProjectStyle)' == ''">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition="'$(NuGetToolVersion)' == ''">6.2.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition="'$(ExcludeRestorePackageImports)' != 'true'">
<SourceRoot Include="C:\Users\Semejkin_AV\.nuget\packages\" />
</ItemGroup>
</Project>

View file

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View file

@ -0,0 +1,113 @@
{
"version": 3,
"targets": {
".NETCoreApp,Version=v3.1": {
"Newtonsoft.Json/13.0.1": {
"type": "package",
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
}
}
}
},
"libraries": {
"Newtonsoft.Json/13.0.1": {
"sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"type": "package",
"path": "newtonsoft.json/13.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/netstandard1.3/Newtonsoft.Json.dll",
"lib/netstandard1.3/Newtonsoft.Json.xml",
"lib/netstandard2.0/Newtonsoft.Json.dll",
"lib/netstandard2.0/Newtonsoft.Json.xml",
"newtonsoft.json.13.0.1.nupkg.sha512",
"newtonsoft.json.nuspec",
"packageIcon.png"
]
}
},
"projectFileDependencyGroups": {
".NETCoreApp,Version=v3.1": [
"Newtonsoft.Json >= 13.0.1"
]
},
"packageFolders": {
"C:\\Users\\Semejkin_AV\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Serializer\\Serializer.csproj",
"projectName": "Serializer",
"projectPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Serializer\\Serializer.csproj",
"packagesPath": "C:\\Users\\Semejkin_AV\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Serializer\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Semejkin_AV\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.1": {
"targetAlias": "netcoreapp3.1",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.1": {
"targetAlias": "netcoreapp3.1",
"dependencies": {
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.1, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.300-preview.22204.3\\RuntimeIdentifierGraph.json"
}
}
}
}

View file

@ -0,0 +1,10 @@
{
"version": 2,
"dgSpecHash": "N7GhgBBFp8cTViZYOQ+q5l3o0oO68xmLJfPJlSDEq3Qvzif0J35KoYbU3P6mQq4OmMphhdoh1EG44BkY1sDqxA==",
"success": true,
"projectFilePath": "C:\\Users\\Semejkin_AV\\Documents\\Github_repos\\ProgtimeHack2022_Bowling\\Serializer\\Serializer.csproj",
"expectedPackageFiles": [
"C:\\Users\\Semejkin_AV\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512"
],
"logs": []
}