From 631b620b472cde7c9536e92882067ed0309024f1 Mon Sep 17 00:00:00 2001 From: Malloc of Kuzkycyziklistan Date: Mon, 17 Apr 2017 13:50:18 -0500 Subject: [PATCH] first worst --- client/index.html | 13 +++++ client/scripts/Database.ts | 5 ++ client/style.css | 3 ++ client/tsconfig.json | 7 +++ server/App.config | 27 +++++++++++ server/Properties/AssemblyInfo.cs | 36 ++++++++++++++ server/Server.cs | 33 +++++++++++++ server/packages.config | 9 ++++ server/server.csproj | 81 +++++++++++++++++++++++++++++++ server/server.sln | 22 +++++++++ 10 files changed, 236 insertions(+) create mode 100644 client/index.html create mode 100644 client/scripts/Database.ts create mode 100644 client/style.css create mode 100644 client/tsconfig.json create mode 100644 server/App.config create mode 100644 server/Properties/AssemblyInfo.cs create mode 100644 server/Server.cs create mode 100644 server/packages.config create mode 100644 server/server.csproj create mode 100644 server/server.sln diff --git a/client/index.html b/client/index.html new file mode 100644 index 0000000..f4e5b35 --- /dev/null +++ b/client/index.html @@ -0,0 +1,13 @@ + + + + CircleScape + + + + + + Your browser does not support the canvas tag. + + + \ No newline at end of file diff --git a/client/scripts/Database.ts b/client/scripts/Database.ts new file mode 100644 index 0000000..7c2e166 --- /dev/null +++ b/client/scripts/Database.ts @@ -0,0 +1,5 @@ +class FileCache { + static Initialize() { + + } +} \ No newline at end of file diff --git a/client/style.css b/client/style.css new file mode 100644 index 0000000..6fef4e0 --- /dev/null +++ b/client/style.css @@ -0,0 +1,3 @@ +body { + background: #000; +} \ No newline at end of file diff --git a/client/tsconfig.json b/client/tsconfig.json new file mode 100644 index 0000000..9b02cc7 --- /dev/null +++ b/client/tsconfig.json @@ -0,0 +1,7 @@ +{ + "compilerOptions": { + "target": "es5", + "out": "game.js", + "watch": true + } +} \ No newline at end of file diff --git a/server/App.config b/server/App.config new file mode 100644 index 0000000..f3b2534 --- /dev/null +++ b/server/App.config @@ -0,0 +1,27 @@ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/server/Properties/AssemblyInfo.cs b/server/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..4702e00 --- /dev/null +++ b/server/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("server")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("server")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("438dbac1-ba37-40bb-9cce-0fe1f23c6dc5")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/server/Server.cs b/server/Server.cs new file mode 100644 index 0000000..4fe4246 --- /dev/null +++ b/server/Server.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WebSocketSharp; +using WebSocketSharp.Server; + +namespace CircleScape { + class Server : WebSocketBehavior { + Server() { + + } + + protected override void OnOpen() { + + } + + protected override void OnMessage(MessageEventArgs e) { + + } + + protected override void OnClose(CloseEventArgs e) { + + } + } + + class EntryPoint { + static void Main(string[] args) { + + } + } +} diff --git a/server/packages.config b/server/packages.config new file mode 100644 index 0000000..972a887 --- /dev/null +++ b/server/packages.config @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/server/server.csproj b/server/server.csproj new file mode 100644 index 0000000..e3f1f6d --- /dev/null +++ b/server/server.csproj @@ -0,0 +1,81 @@ + + + + + Debug + AnyCPU + {438DBAC1-BA37-40BB-9CCE-0FE1F23C6DC5} + Exe + Properties + server + server + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll + True + + + packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll + True + + + + + + packages\System.Data.SQLite.Core.1.0.105.0\lib\net451\System.Data.SQLite.dll + True + + + + + + + + + + + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/server/server.sln b/server/server.sln new file mode 100644 index 0000000..f5fa09e --- /dev/null +++ b/server/server.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "server", "server.csproj", "{438DBAC1-BA37-40BB-9CCE-0FE1F23C6DC5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {438DBAC1-BA37-40BB-9CCE-0FE1F23C6DC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {438DBAC1-BA37-40BB-9CCE-0FE1F23C6DC5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {438DBAC1-BA37-40BB-9CCE-0FE1F23C6DC5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {438DBAC1-BA37-40BB-9CCE-0FE1F23C6DC5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal