diff --git a/Readme.md b/Readme.md index 60882ca..5549b3f 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,6 @@ -# Студент: [ФИО] -* **Группа:** [Номер] -* **Курс:** [Название дисциплины] +# Студент: Григорий Робертович Кокиев +* **Группа:** 328 +* **Курс:** Разработка мобильных приложений ## Список работ * [Лабораторная работа №1](./works/lab-01) diff --git a/works/lab-01/Algorithmes.sln b/works/lab-01/Algorithmes.sln deleted file mode 100644 index ce9e958..0000000 --- a/works/lab-01/Algorithmes.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.8.34330.188 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Algorithmes", "Algorithmes\Algorithmes.csproj", "{74E7C519-74A1-4E10-9CA8-0511B921BE01}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {74E7C519-74A1-4E10-9CA8-0511B921BE01}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {74E7C519-74A1-4E10-9CA8-0511B921BE01}.Debug|Any CPU.Build.0 = Debug|Any CPU - {74E7C519-74A1-4E10-9CA8-0511B921BE01}.Release|Any CPU.ActiveCfg = Release|Any CPU - {74E7C519-74A1-4E10-9CA8-0511B921BE01}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {74E79E23-6278-420A-9A5C-680C46701C01} - EndGlobalSection -EndGlobal diff --git a/works/lab-01/Readme.md b/works/lab-01/Readme.md index 388f028..00fa059 100644 --- a/works/lab-01/Readme.md +++ b/works/lab-01/Readme.md @@ -1,15 +1,6 @@ # Лабораторная работа №1 -* **Студент:** [ФИО] +* **Студент:** Кокиев Григорий Робертович * **Вариант / Карточка:** [Например: #025 Pikachu] ---- -## Ключевой код -```csharp -// Самая важная часть реализации (методы, структуры, логика) -public class Card -{ - public string Name { get; set; } - public int Hp { get; set; } -} diff --git a/works/lab-01/lession1/.gitignore b/works/lab-01/lession1/.gitignore new file mode 100644 index 0000000..3ddbf4c --- /dev/null +++ b/works/lab-01/lession1/.gitignore @@ -0,0 +1,32 @@ +### IntelliJ IDEA ### +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### Kotlin ### +.kotlin + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/works/lab-01/lession1/src/Main.kt b/works/lab-01/lession1/src/Main.kt new file mode 100644 index 0000000..e4b7207 --- /dev/null +++ b/works/lab-01/lession1/src/Main.kt @@ -0,0 +1,10 @@ +fun main() { + val trainerName = "Эш Кетчум" + val homeRegion = "Канто" + val badges = 8 + val pokedexCount = 150 + println("=== БАЗА ДАННЫХ ТРЕНЕРОВ ===") + println("Тренер: ${trainerName}") + println("Родной регион: ${homeRegion}") + println("Значков: ${badges} | Покемонов в Покедексе: ${pokedexCount}") +} diff --git a/works/lab-01/lession1/src/Main2.kt b/works/lab-01/lession1/src/Main2.kt new file mode 100644 index 0000000..9647c60 --- /dev/null +++ b/works/lab-01/lession1/src/Main2.kt @@ -0,0 +1,18 @@ +fun main() +{ + print("Введите имя инспектора:") + var inspectorName = readln() + print("Введите имя тренера:") + var trainerName = readln() + print("Введите стартового покемона:") + var starterPokemon = readln() + print("Введите целевой стадион:") + var targetGym= readln() + + println("****************************************") + println("ЛИЦЕНЗИЯ ТРЕНЕРА") + println("Инспектор: ${inspectorName}") + println("Тренер: ${trainerName} [Стартер: ${starterPokemon}]") + println("Следующая цель: Стадион ${targetGym}") + println("****************************************") +} \ No newline at end of file diff --git a/works/lab-01/stage1/.gitignore b/works/lab-01/stage1/.gitignore new file mode 100644 index 0000000..3ddbf4c --- /dev/null +++ b/works/lab-01/stage1/.gitignore @@ -0,0 +1,32 @@ +### IntelliJ IDEA ### +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### Kotlin ### +.kotlin + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/works/lab-01/stage1/src/Main.kt b/works/lab-01/stage1/src/Main.kt new file mode 100644 index 0000000..a7406e1 --- /dev/null +++ b/works/lab-01/stage1/src/Main.kt @@ -0,0 +1,25 @@ +fun main() { + print("Введите тип карты: ") + val cardType = readln() + print("Введите подтип карты: ") + val cardSubtype = readln() + print("Введите название карты: ") + val cardName = readln() + print("Введите описание основного эффекта: ") + val effectText = readln() + print("Введите правило подтипа: ") + val ruleText = readln() + print("Введите имя художника:") + val illustrator = readln() + val healAmount = 60 + val cardNumber = 105 + val totalInSet = 106 + println("====================================================================== \n" + + "[$cardType] $cardName [$cardSubtype]\n" + + "---------------------------------------------------------------------- \n"+ + "Эффект: $effectText\n" + + "Правило: $ruleText \n" + + "---------------------------------------------------------------------- \n" + + "Илл. $illustrator $cardNumber / $totalInSet ★\n" + + "======================================================================") +} \ No newline at end of file