Обновить works/lab-01/миу миу.txt

This commit is contained in:
zxc
2026-09-08 09:06:45 +00:00
parent 8a0564df75
commit 09631863ab
+38
View File
@@ -63,3 +63,41 @@ class Program
}
}
using System;
class Program
{
static void Main()
{
Console.WriteLine("=== Combat Menu ===");
Console.WriteLine("1 — Attack");
Console.WriteLine("2 — Inventory");
Console.WriteLine("3 — Switch Pokemon");
Console.WriteLine("4 — Escape");
Console.Write("select action (1-4):");
int choice = int.Parse(Console.ReadLine());
switch (choice)
{
case 1:
Console.WriteLine("The Pokemon lands a quick hit!");
break;
case 2:
Console.WriteLine("You opened your bag and used a Healing Potion.");
break;
case 3:
Console.WriteLine("You recalled your Pokemon and sent out a new one!");
break;
case 4:
Console.WriteLine("You successfully escaped from the battle!");
break;
default:
Console.WriteLine("Unknown command! You missed your turn.");
break;
}
}
}