diff --git a/Program.cs b/Program.cs
index ac98665..fbf4748 100644
--- a/Program.cs
+++ b/Program.cs
@@ -4,6 +4,30 @@ class Program
{
static void Main(string[] args)
{
- Console.WriteLine("Hello, World!");
+ //dichiarazione variabili
+ Random rnd = new Random();
+ int random, numero;
+ //inizializzazione
+ random = rnd.Next(1, 100);
+ //richiesta input e sanitization
+ do{
+ do{
+ Console.WriteLine("Inserire un numero: ");
+ numero=Convert.ToInt32(Console.ReadLine());
+ if (numero<=0) {
+ Console.WriteLine("Il numero non è né negativo né zero, riprova");
+ }
+ }
+ while(numero<=0);
+ //controllo se il numero è stato indovinato
+ if (numero>random){
+ Console.WriteLine("Il numero inserito è troppo grande, riprova");
+ }
+ else if (numero
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
diff --git a/obj/Debug/net8.0/apphost b/obj/Debug/net8.0/apphost
new file mode 100755
index 0000000..4315f6e
Binary files /dev/null and b/obj/Debug/net8.0/apphost differ
diff --git a/obj/Debug/net8.0/ref/rng_game.dll b/obj/Debug/net8.0/ref/rng_game.dll
new file mode 100644
index 0000000..05298ad
Binary files /dev/null and b/obj/Debug/net8.0/ref/rng_game.dll differ
diff --git a/obj/Debug/net8.0/refint/rng_game.dll b/obj/Debug/net8.0/refint/rng_game.dll
new file mode 100644
index 0000000..05298ad
Binary files /dev/null and b/obj/Debug/net8.0/refint/rng_game.dll differ
diff --git a/obj/Debug/net8.0/rng_game.AssemblyInfo.cs b/obj/Debug/net8.0/rng_game.AssemblyInfo.cs
new file mode 100644
index 0000000..a6f8eb2
--- /dev/null
+++ b/obj/Debug/net8.0/rng_game.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("rng_game")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+dec33453048ca4d891dfd6ead0d30aed725ee33d")]
+[assembly: System.Reflection.AssemblyProductAttribute("rng_game")]
+[assembly: System.Reflection.AssemblyTitleAttribute("rng_game")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+
+// Generato dalla classe WriteCodeFragment di MSBuild.
+
diff --git a/obj/Debug/net8.0/rng_game.AssemblyInfoInputs.cache b/obj/Debug/net8.0/rng_game.AssemblyInfoInputs.cache
new file mode 100644
index 0000000..5abd137
--- /dev/null
+++ b/obj/Debug/net8.0/rng_game.AssemblyInfoInputs.cache
@@ -0,0 +1 @@
+7396776807f17369622070cdc0741577e0a38bd2e475611b61f14a4b22551e62
diff --git a/obj/Debug/net8.0/rng_game.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net8.0/rng_game.GeneratedMSBuildEditorConfig.editorconfig
new file mode 100644
index 0000000..9136a31
--- /dev/null
+++ b/obj/Debug/net8.0/rng_game.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 = rng_game
+build_property.ProjectDir = /home/BrainTheBest5/git/rng_game/
+build_property.EnableComHosting =
+build_property.EnableGeneratedComInterfaceComImportInterop =
diff --git a/obj/Debug/net8.0/rng_game.GlobalUsings.g.cs b/obj/Debug/net8.0/rng_game.GlobalUsings.g.cs
new file mode 100644
index 0000000..8578f3d
--- /dev/null
+++ b/obj/Debug/net8.0/rng_game.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/obj/Debug/net8.0/rng_game.assets.cache b/obj/Debug/net8.0/rng_game.assets.cache
new file mode 100644
index 0000000..9cdc1e3
Binary files /dev/null and b/obj/Debug/net8.0/rng_game.assets.cache differ
diff --git a/obj/Debug/net8.0/rng_game.csproj.CoreCompileInputs.cache b/obj/Debug/net8.0/rng_game.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..6d7fdfe
--- /dev/null
+++ b/obj/Debug/net8.0/rng_game.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+30e81b06136086f3229f17d83fe2d5169ed9003044117fed267fc82bf53f2acb
diff --git a/obj/Debug/net8.0/rng_game.csproj.FileListAbsolute.txt b/obj/Debug/net8.0/rng_game.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..b02d499
--- /dev/null
+++ b/obj/Debug/net8.0/rng_game.csproj.FileListAbsolute.txt
@@ -0,0 +1,14 @@
+/home/BrainTheBest5/git/rng_game/obj/Debug/net8.0/rng_game.GeneratedMSBuildEditorConfig.editorconfig
+/home/BrainTheBest5/git/rng_game/obj/Debug/net8.0/rng_game.AssemblyInfoInputs.cache
+/home/BrainTheBest5/git/rng_game/obj/Debug/net8.0/rng_game.AssemblyInfo.cs
+/home/BrainTheBest5/git/rng_game/obj/Debug/net8.0/rng_game.csproj.CoreCompileInputs.cache
+/home/BrainTheBest5/git/rng_game/bin/Debug/net8.0/rng_game
+/home/BrainTheBest5/git/rng_game/bin/Debug/net8.0/rng_game.deps.json
+/home/BrainTheBest5/git/rng_game/bin/Debug/net8.0/rng_game.runtimeconfig.json
+/home/BrainTheBest5/git/rng_game/bin/Debug/net8.0/rng_game.dll
+/home/BrainTheBest5/git/rng_game/bin/Debug/net8.0/rng_game.pdb
+/home/BrainTheBest5/git/rng_game/obj/Debug/net8.0/rng_game.dll
+/home/BrainTheBest5/git/rng_game/obj/Debug/net8.0/refint/rng_game.dll
+/home/BrainTheBest5/git/rng_game/obj/Debug/net8.0/rng_game.pdb
+/home/BrainTheBest5/git/rng_game/obj/Debug/net8.0/rng_game.genruntimeconfig.cache
+/home/BrainTheBest5/git/rng_game/obj/Debug/net8.0/ref/rng_game.dll
diff --git a/obj/Debug/net8.0/rng_game.dll b/obj/Debug/net8.0/rng_game.dll
new file mode 100644
index 0000000..a3321cb
Binary files /dev/null and b/obj/Debug/net8.0/rng_game.dll differ
diff --git a/obj/Debug/net8.0/rng_game.genruntimeconfig.cache b/obj/Debug/net8.0/rng_game.genruntimeconfig.cache
new file mode 100644
index 0000000..829a581
--- /dev/null
+++ b/obj/Debug/net8.0/rng_game.genruntimeconfig.cache
@@ -0,0 +1 @@
+004b5dc731030bea8726969cd925ed69de83447d2fd5021a445043e049e0310c
diff --git a/obj/Debug/net8.0/rng_game.pdb b/obj/Debug/net8.0/rng_game.pdb
new file mode 100644
index 0000000..c2e4f06
Binary files /dev/null and b/obj/Debug/net8.0/rng_game.pdb differ