meu primeiro commit carinhoso

This commit is contained in:
2026-11-17 15:55:29 -03:00
commit b678264787
33 changed files with 973 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
namespace menu_do_jogo;
class Program
{
static void Main()
{
Console.WriteLine("=== MEU JOGO === 01- jogar 02- ver creditos 03- sair Escolha:");
string escolha = Console.ReadLine();
while (escolha != "3")
{
if (escolha == "1")
{
Program.Jogar();
escolha = Console.ReadLine();
}
else if (escolha == "2")
{
Program.MostrarCreditos();
escolha = Console.ReadLine();
}
else if (escolha == "3") ;
}
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("Até Mais!");
}
static void Jogar()
{
Console.ForegroundColor = ConsoleColor.DarkGreen;
Console.WriteLine("O Jogo Começou!");
}
static void MostrarCreditos()
{
Console.ForegroundColor = ConsoleColor.DarkBlue;
Console.WriteLine("Jogo criado por Josué");
}
}
+11
View File
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>menu_do_jogo</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
+16
View File
@@ -0,0 +1,16 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "menu do jogo", "menu do jogo.csproj", "{3203A514-2734-4E62-9534-E16DAF5D5D9B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3203A514-2734-4E62-9534-E16DAF5D5D9B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3203A514-2734-4E62-9534-E16DAF5D5D9B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3203A514-2734-4E62-9534-E16DAF5D5D9B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3203A514-2734-4E62-9534-E16DAF5D5D9B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal