feat: начата Стадия3

This commit is contained in:
2026-09-09 12:10:02 +03:00
parent 05baab2f06
commit 0abbdfbcf4
5 changed files with 31 additions and 13 deletions
-8
View File
@@ -1,8 +0,0 @@
while(true){int f = int.Parse(Console.ReadLine());
if (f <= 0)
Console.Write("0");
else if (f <= 5)
Console.Write("5");
else
Console.Write("6");
}
+24
View File
@@ -0,0 +1,24 @@
Console.Write("Введите стадию развития: ");//БАЗОВЫЙ
string stage = Console.ReadLine();
Console.Write("Введите имя покемона:");//Чармандер
string name = Console.ReadLine();
Console.Write("Введите вид покемона:");//Ящер
string category = Console.ReadLine();
Console.Write("Введите текущие очки здоровья:");
int hp = int.Parse(Console.ReadLine());
Console.Write("Введите название 1-й атаки:");
string attack1Name = Console.ReadLine();
Console.Write("Введите описание 1-й атаки и ее условия:");
string attack1Desc = Console.ReadLine();
Console.Write("Введите базовый урон 1-й атаки:");
int attack1BaseDamage = int.Parse(Console.ReadLine());
Console.Write("Введите название 2-й атаки:");
string attack2Name = Console.ReadLine();
Console.Write("Введите описание 2-й атаки и ее условия:");
string attack2Desc = Console.ReadLine();
Console.Write("Введите базовый урон 2-й атаки:");
int attack2BaseDamage = int.Parse(Console.ReadLine());
Console.Write("Введите тип уязвимости:");
string weakness = Console.ReadLine();
Console.Write("Введите тип устойчивости:");
string resistance = Console.ReadLine();
@@ -3,6 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>stage_03</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
@@ -1,6 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{73016738-CEDA-412E-9987-1C068AD114F0}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "stage-03", "stage-03.csproj", "{840EA6D8-6D72-4FA9-873B-4E65EAB2D9B4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -8,9 +8,9 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{73016738-CEDA-412E-9987-1C068AD114F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{73016738-CEDA-412E-9987-1C068AD114F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{73016738-CEDA-412E-9987-1C068AD114F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{73016738-CEDA-412E-9987-1C068AD114F0}.Release|Any CPU.Build.0 = Release|Any CPU
{840EA6D8-6D72-4FA9-873B-4E65EAB2D9B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{840EA6D8-6D72-4FA9-873B-4E65EAB2D9B4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{840EA6D8-6D72-4FA9-873B-4E65EAB2D9B4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{840EA6D8-6D72-4FA9-873B-4E65EAB2D9B4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal