This commit is contained in:
2026-09-09 10:11:13 +03:00
parent 5f871efe6b
commit 135bce10b3
22 changed files with 255 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("1 — Атака");
Console.WriteLine("2 — Инвентарь");
Console.WriteLine("3 — Сменить покемона");
Console.WriteLine("4 — Побег");
Console.Write("\nВыберите действие: ");
string input = Console.ReadLine();
int choice = int.Parse(input);
Console.WriteLine();
switch (choice)
{
case 1:
Console.WriteLine("Покемон наносит быстрый удар!");
break;
case 2:
Console.WriteLine("Вы открыли сумку и применили Зелье Лечения.");
break;
case 3:
Console.WriteLine("Вы отозвали покемона и выпустили нового!");
break;
case 4:
Console.WriteLine("Вы успешно сбежали из боя!");
break;
default:
Console.WriteLine("Неизвестная команда! Вы пропустили ход.");
break;
}
}
}