generated from admin/template
Добавить works/lab-01/stage1
This commit is contained in:
@@ -0,0 +1,64 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
class Program {
|
||||||
|
static void Main() {
|
||||||
|
Console.WriteLine("razvitie");
|
||||||
|
string stage = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine("name pokemon");
|
||||||
|
string name = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine("category");
|
||||||
|
string category = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine("1 ataka");
|
||||||
|
string attack1Name = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine("effect 1");
|
||||||
|
string attack1Desc = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine("vtoria ataka");
|
||||||
|
string attack2Name = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine("efeect 2 ataki");
|
||||||
|
string attack2Desc = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine("yiazvimoct");
|
||||||
|
string weakness = Console.ReadLine();
|
||||||
|
|
||||||
|
Console.WriteLine("ystoichivost");
|
||||||
|
string resistance = Console.ReadLine();
|
||||||
|
|
||||||
|
int hp = 60;
|
||||||
|
int number = 25;
|
||||||
|
double height = 0.4;
|
||||||
|
double weight = 6.0;
|
||||||
|
int attack2Damage = 20;
|
||||||
|
int retreatCost = 1;
|
||||||
|
|
||||||
|
Console.Clear();
|
||||||
|
|
||||||
|
Console.WriteLine($"[{stage}] {name}");
|
||||||
|
Console.WriteLine($"HP: {hp} [{number}]");
|
||||||
|
Console.WriteLine();
|
||||||
|
|
||||||
|
Console.WriteLine($"№ {number:D3} | vid: {category} | Rost: {height} m | ves: {weight} kg");
|
||||||
|
Console.WriteLine();
|
||||||
|
|
||||||
|
Console.WriteLine($"[ataka1] {attack1Name}");
|
||||||
|
Console.WriteLine($"effect: {attack1Desc}");
|
||||||
|
Console.WriteLine();
|
||||||
|
|
||||||
|
Console.WriteLine($"[ataka2] {attack2Name}");
|
||||||
|
Console.WriteLine($"effect: {attack2Desc}");
|
||||||
|
Console.WriteLine($"damage: {attack2Damage}");
|
||||||
|
Console.WriteLine();
|
||||||
|
|
||||||
|
Console.WriteLine($"slaboct: {weakness}");
|
||||||
|
Console.WriteLine($"ystoichivoct: {resistance}");
|
||||||
|
Console.WriteLine($"otstyplenie: {retreatCost} energia");
|
||||||
|
|
||||||
|
Console.WriteLine("\nvihod");
|
||||||
|
Console.ReadKey();
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user