diff --git a/Program-Core_GPT.cs b/Program-Core_GPT.cs index 46c3109..b3274ff 100644 --- a/Program-Core_GPT.cs +++ b/Program-Core_GPT.cs @@ -5,8 +5,8 @@ class SlotMachine { static void Main() { - TUI Test = new TUI(); - Test.Generate(); + TUI Test = new TUI(); + Random random = new Random(); string[] symbols = { "Kirsche", "Zitrone", "Orange", "Pflaume", "Melone", "Glocke", "Bar" }; @@ -37,5 +37,7 @@ class SlotMachine } Console.WriteLine("Vielen Dank fürs Spielen!"); + + Console.WriteLine(Test.Generate()); } } diff --git a/Program-Core_GPT.exe b/Program-Core_GPT.exe index 318fd38..64a6ee3 100755 Binary files a/Program-Core_GPT.exe and b/Program-Core_GPT.exe differ diff --git a/TUI.cs b/TUI.cs index 2ba0192..afbd19f 100644 --- a/TUI.cs +++ b/TUI.cs @@ -6,18 +6,41 @@ namespace _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)); - return ""; + for (int i=0; i