diff --git a/SU420/Program.cs b/SU420/Program.cs new file mode 100644 index 0000000..6114704 --- /dev/null +++ b/SU420/Program.cs @@ -0,0 +1,16 @@ +using System; +using _TUI; +namespace SU420; + +class Program +{ + static void Main(string[] args) + { + Console.Clear(); + TUI displ = new TUI(); + Console.Clear(); + Console.Write(displ.Generate()); + + //Console.WriteLine("1"); + } +} diff --git a/SU420/SU420.csproj b/SU420/SU420.csproj new file mode 100644 index 0000000..2150e37 --- /dev/null +++ b/SU420/SU420.csproj @@ -0,0 +1,10 @@ + + + + Exe + net8.0 + enable + enable + + + diff --git a/SU420/TUI.cs b/SU420/TUI.cs new file mode 100644 index 0000000..d83cab2 --- /dev/null +++ b/SU420/TUI.cs @@ -0,0 +1,48 @@ +using System; + +namespace _TUI +{ + public class TUI + { + public TUI() + { + + } + public string Generate() + { + string returnstring = ""; + + int w = Console.WindowWidth; + int h = Console.WindowHeight; + + string[,] Terminal = new string[w,h]; + + //Console.WriteLine(w); + //Console.WriteLine(h); + //Console.WriteLine(Terminal.GetLength(0)); + //Console.WriteLine(Terminal.GetLength(1)); + + for (int i=0; i +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/SU420/obj/Debug/net8.0/SU420.AssemblyInfo.cs b/SU420/obj/Debug/net8.0/SU420.AssemblyInfo.cs new file mode 100644 index 0000000..7af4719 --- /dev/null +++ b/SU420/obj/Debug/net8.0/SU420.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("SU420")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+63fee94b0db8c3f45ee619a9129b18089462bff9")] +[assembly: System.Reflection.AssemblyProductAttribute("SU420")] +[assembly: System.Reflection.AssemblyTitleAttribute("SU420")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/SU420/obj/Debug/net8.0/SU420.AssemblyInfoInputs.cache b/SU420/obj/Debug/net8.0/SU420.AssemblyInfoInputs.cache new file mode 100644 index 0000000..7a55563 --- /dev/null +++ b/SU420/obj/Debug/net8.0/SU420.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +8c1c0164db9c63f007073ee6a09f30fa3f080d5c1c283ede2309883314b1e748 diff --git a/SU420/obj/Debug/net8.0/SU420.GeneratedMSBuildEditorConfig.editorconfig b/SU420/obj/Debug/net8.0/SU420.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..cc8bfb3 --- /dev/null +++ b/SU420/obj/Debug/net8.0/SU420.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net8.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = SU420 +build_property.ProjectDir = /home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/SU420/obj/Debug/net8.0/SU420.GlobalUsings.g.cs b/SU420/obj/Debug/net8.0/SU420.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/SU420/obj/Debug/net8.0/SU420.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/SU420/obj/Debug/net8.0/SU420.assets.cache b/SU420/obj/Debug/net8.0/SU420.assets.cache new file mode 100644 index 0000000..b5f712f Binary files /dev/null and b/SU420/obj/Debug/net8.0/SU420.assets.cache differ diff --git a/SU420/obj/Debug/net8.0/SU420.csproj.CoreCompileInputs.cache b/SU420/obj/Debug/net8.0/SU420.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..a8f3683 --- /dev/null +++ b/SU420/obj/Debug/net8.0/SU420.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +81339b685a4c920b7990c783100ad686b7cae1fa7d3b788d76990ed24c4a0cdd diff --git a/SU420/obj/Debug/net8.0/SU420.csproj.FileListAbsolute.txt b/SU420/obj/Debug/net8.0/SU420.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..af60109 --- /dev/null +++ b/SU420/obj/Debug/net8.0/SU420.csproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/bin/Debug/net8.0/SU420 +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/bin/Debug/net8.0/SU420.deps.json +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/bin/Debug/net8.0/SU420.runtimeconfig.json +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/bin/Debug/net8.0/SU420.dll +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/bin/Debug/net8.0/SU420.pdb +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/obj/Debug/net8.0/SU420.GeneratedMSBuildEditorConfig.editorconfig +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/obj/Debug/net8.0/SU420.AssemblyInfoInputs.cache +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/obj/Debug/net8.0/SU420.AssemblyInfo.cs +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/obj/Debug/net8.0/SU420.csproj.CoreCompileInputs.cache +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/obj/Debug/net8.0/SU420.dll +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/obj/Debug/net8.0/refint/SU420.dll +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/obj/Debug/net8.0/SU420.pdb +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/obj/Debug/net8.0/SU420.genruntimeconfig.cache +/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/obj/Debug/net8.0/ref/SU420.dll diff --git a/SU420/obj/Debug/net8.0/SU420.dll b/SU420/obj/Debug/net8.0/SU420.dll new file mode 100644 index 0000000..127483c Binary files /dev/null and b/SU420/obj/Debug/net8.0/SU420.dll differ diff --git a/SU420/obj/Debug/net8.0/SU420.genruntimeconfig.cache b/SU420/obj/Debug/net8.0/SU420.genruntimeconfig.cache new file mode 100644 index 0000000..af0a3e4 --- /dev/null +++ b/SU420/obj/Debug/net8.0/SU420.genruntimeconfig.cache @@ -0,0 +1 @@ +d331bf29c19e3c4e33772e9043530eff43ef35fc72380080ad8e69c9ff00364d diff --git a/SU420/obj/Debug/net8.0/SU420.pdb b/SU420/obj/Debug/net8.0/SU420.pdb new file mode 100644 index 0000000..2d891be Binary files /dev/null and b/SU420/obj/Debug/net8.0/SU420.pdb differ diff --git a/SU420/obj/Debug/net8.0/apphost b/SU420/obj/Debug/net8.0/apphost new file mode 100755 index 0000000..64be6f0 Binary files /dev/null and b/SU420/obj/Debug/net8.0/apphost differ diff --git a/SU420/obj/Debug/net8.0/ref/SU420.dll b/SU420/obj/Debug/net8.0/ref/SU420.dll new file mode 100644 index 0000000..5dfcfb5 Binary files /dev/null and b/SU420/obj/Debug/net8.0/ref/SU420.dll differ diff --git a/SU420/obj/Debug/net8.0/refint/SU420.dll b/SU420/obj/Debug/net8.0/refint/SU420.dll new file mode 100644 index 0000000..5dfcfb5 Binary files /dev/null and b/SU420/obj/Debug/net8.0/refint/SU420.dll differ diff --git a/SU420/obj/SU420.csproj.nuget.dgspec.json b/SU420/obj/SU420.csproj.nuget.dgspec.json new file mode 100644 index 0000000..4b39af0 --- /dev/null +++ b/SU420/obj/SU420.csproj.nuget.dgspec.json @@ -0,0 +1,67 @@ +{ + "format": 1, + "restore": { + "/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/SU420.csproj": {} + }, + "projects": { + "/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/SU420.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/SU420.csproj", + "projectName": "SU420", + "projectPath": "/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/SU420.csproj", + "packagesPath": "/home/themiro/.nuget/packages/", + "outputPath": "/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/themiro/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[8.0.10, 8.0.10]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.110/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/SU420/obj/SU420.csproj.nuget.g.props b/SU420/obj/SU420.csproj.nuget.g.props new file mode 100644 index 0000000..3859fab --- /dev/null +++ b/SU420/obj/SU420.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /home/themiro/.nuget/packages/ + /home/themiro/.nuget/packages/ + PackageReference + 6.8.1 + + + + + \ No newline at end of file diff --git a/SU420/obj/SU420.csproj.nuget.g.targets b/SU420/obj/SU420.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/SU420/obj/SU420.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/SU420/obj/project.assets.json b/SU420/obj/project.assets.json new file mode 100644 index 0000000..f977654 --- /dev/null +++ b/SU420/obj/project.assets.json @@ -0,0 +1,72 @@ +{ + "version": 3, + "targets": { + "net8.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net8.0": [] + }, + "packageFolders": { + "/home/themiro/.nuget/packages/": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/SU420.csproj", + "projectName": "SU420", + "projectPath": "/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/SU420.csproj", + "packagesPath": "/home/themiro/.nuget/packages/", + "outputPath": "/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/themiro/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[8.0.10, 8.0.10]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.110/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/SU420/obj/project.nuget.cache b/SU420/obj/project.nuget.cache new file mode 100644 index 0000000..003339f --- /dev/null +++ b/SU420/obj/project.nuget.cache @@ -0,0 +1,10 @@ +{ + "version": 2, + "dgSpecHash": "gGYQR5jX3kbCd+pbrX6N/DaB1nZgWTMrnHSptB6AW/jlAFL3+Dx8rPJqEkTYEB1JTKLHmV3D4O1THA0l75TDSQ==", + "success": true, + "projectFilePath": "/home/themiro/code.dev/cshrp/Spielsucht420.exe/SU420/SU420.csproj", + "expectedPackageFiles": [ + "/home/themiro/.nuget/packages/microsoft.aspnetcore.app.ref/8.0.10/microsoft.aspnetcore.app.ref.8.0.10.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/TUI.cs b/TUI.cs deleted file mode 100644 index afbd19f..0000000 --- a/TUI.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; - -namespace _TUI -{ - public class TUI - { - public TUI() - { - - } - public string Generate() - { - string returnstring = ""; - - int w = Console.WindowWidth; - int h = Console.WindowHeight; - - char[,] Terminal = new char[w,h]; - - #Console.WriteLine(w); - #Console.WriteLine(h); - #Console.WriteLine(Terminal.GetLength(0)); - #Console.WriteLine(Terminal.GetLength(1)); - - for (int i=0; i