Удалил файл
This commit is contained in:
@@ -1,56 +0,0 @@
|
|||||||
# ЛАБОРАТОРНАЯ РАБОТА №1
|
|
||||||
## КОДЫ ИЗ C#
|
|
||||||
|
|
||||||
```
|
|
||||||
static void Main(string[] args)
|
|
||||||
{
|
|
||||||
int hp = 60;
|
|
||||||
int number = 25;
|
|
||||||
double height = 0.4;
|
|
||||||
double weight = 6.0;
|
|
||||||
int attack2Damage = 20;
|
|
||||||
int reateatCost = 1;
|
|
||||||
|
|
||||||
Console.Write("Введте стадия развития: ");
|
|
||||||
string stage = Console.ReadLine();
|
|
||||||
Console.Write("Введите имя покемона: ");
|
|
||||||
string name = Console.ReadLine();
|
|
||||||
Console.Write("Ввеите вид покемона: ");
|
|
||||||
string category = Console.ReadLine();
|
|
||||||
Console.Write("Введите название первой атакии: ");
|
|
||||||
string attack1Name = Console.ReadLine();
|
|
||||||
Console.Write("Введите эффект первой атаки: ");
|
|
||||||
string attack1Desc = Console.ReadLine();
|
|
||||||
Console.Write("Введите название второй атаки: ");
|
|
||||||
string attack2Name = Console.ReadLine();
|
|
||||||
Console.Write("Введите эффект второй атаки: ");
|
|
||||||
string attack2Desc = Console.ReadLine();
|
|
||||||
Console.Write("Введите уязвимость: ");
|
|
||||||
string weakness = Console.ReadLine();
|
|
||||||
Console.Write("Введите устойчивость: ");
|
|
||||||
string resisstance = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.Clear();
|
|
||||||
Thread.Sleep(1000);
|
|
||||||
|
|
||||||
Console.WriteLine($@"======================================================================
|
|
||||||
{stage} {name,-55}ОЖ: {hp} [⚡]
|
|
||||||
----------------------------------------------------------------------");
|
|
||||||
Thread.Sleep(1000);
|
|
||||||
Console.WriteLine($@"№ {number} | Вид: {category} | Рост: {height} | Вес: {weight}
|
|
||||||
----------------------------------------------------------------------");
|
|
||||||
Thread.Sleep(1000);
|
|
||||||
Console.WriteLine($@"[Атака 1] {attack1Name}
|
|
||||||
Эффект: {attack1Desc}");
|
|
||||||
|
|
||||||
Thread.Sleep(1000);
|
|
||||||
|
|
||||||
Console.WriteLine($@"[Атака 2] {attack1Desc,-40} Урон: {attack2Damage}+
|
|
||||||
Эффект: {attack2Desc}
|
|
||||||
----------------------------------------------------------------------");
|
|
||||||
Thread.Sleep(1000);
|
|
||||||
Console.WriteLine($@"Слабость: {weakness}
|
|
||||||
Устойчивость: {resisstance}
|
|
||||||
Отступление: {resisstance}");
|
|
||||||
}
|
|
||||||
```
|
|
||||||
Reference in New Issue
Block a user