From 4bfef230e19c41925861f0df3bb7d12cc838b87b Mon Sep 17 00:00:00 2001 From: Yroslav Date: Thu, 15 Oct 2026 06:53:40 +0000 Subject: [PATCH] Delete directory 'stage-1' --- stage-1/Readme.md | 17 ---------- stage-1/stage-1.cs | 78 ---------------------------------------------- 2 files changed, 95 deletions(-) delete mode 100644 stage-1/Readme.md delete mode 100644 stage-1/stage-1.cs diff --git a/stage-1/Readme.md b/stage-1/Readme.md deleted file mode 100644 index 5ee2505..0000000 --- a/stage-1/Readme.md +++ /dev/null @@ -1,17 +0,0 @@ -# Техническая задание №1 - -* **Студент:** Константинов Матвей Михайлович (gcn) -* **Вариант / Карточка:** [Например: #025 Pikachu] - ---- - -## Ключевой код -```csharp -// Самая важная часть реализации (методы, структуры, логика) -public class Card -{ - public string Name { get; set; } - public int Hp { get; set; } -} - -Техническое задание: Оцифровка карточки Pokémon TCG \ No newline at end of file diff --git a/stage-1/stage-1.cs b/stage-1/stage-1.cs deleted file mode 100644 index 3821b4c..0000000 --- a/stage-1/stage-1.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - internal class Program - { - public static void Main(string[] args) - { - stage1_md(); - } - - // Задание из stage1.md: оцифровка карточки Пикачу. - static void stage1_md() - { - Console.Clear(); - Console.WriteLine("Техническое задание: Оцифровка карточки Pokémon TCG"); - Console.WriteLine("1. Переменные карточки и типы данных"); - Console.WriteLine("Все характеристики оригинальной карточки Пикачу (025) должны храниться в переменных.\n"); - - 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("Введите уязвимость (например, Боевой x2): "); - string weakness = Console.ReadLine(); - - Console.Write("Введите устойчивость (например, Стальной -20): "); - 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("======================================================================"); - Console.WriteLine( - $"[{stage}] {name} ОЖ: {hp} [молния] № {number:000} | Вид: {category} | Рост: {height} м | Вес: {weight} кг"); - Console.WriteLine("[Атака 1]"); - Console.WriteLine($"{attack1Name}"); - Console.WriteLine($"Эффект: {attack1Desc}"); - Console.WriteLine("[Атака 2]"); - Console.WriteLine($"{attack2Name} Урон: {attack2Damage}+"); - Console.WriteLine($"Эффект: {attack2Desc}"); - Console.WriteLine($"Слабость: {weakness}"); - Console.WriteLine($"Устойчивость: {resistance}"); - Console.WriteLine($"Отступление: {retreatCost} энергия"); - Console.WriteLine("======================================================================"); - - Console.WriteLine("\nНажмите Enter, чтобы завершить..."); - Console.ReadLine(); - } - } -}