diff --git a/works/stage-1/src/stage/src/Main.kt b/works/stage-1/src/stage/src/Main.kt index 7265465..430905c 100644 --- a/works/stage-1/src/stage/src/Main.kt +++ b/works/stage-1/src/stage/src/Main.kt @@ -1,14 +1,31 @@ -//TIP To Run code, press or -// click the icon in the gutter. fun main() { - val name = "Kotlin" - //TIP Press with your caret at the highlighted text - // to see how IntelliJ IDEA suggests fixing it. - println("Hello, " + name + "!") + print("Введите тип карты: ") + val cardType = readln() + print("Введите подтип карты: ") + val cardSubtype = readln() + print("Введите название карты: ") + val cardName = readln() + print("Введите описание эффекта: ") + val effectText = readln() + print("Введите правило подтипа: ") + val ruleText = readln() + print("Введите имя художника: ") + val illustrator = readln() - for (i in 1..5) { - //TIP Press to start debugging your code. We have set one breakpoint - // for you, but you can always add more by pressing . - println("i = $i") - } + val healAmount: Int = 60 + val cardNumber: Int = 105 + val totalInSet: Int = 106 + + val separator = "=".repeat(70) + val thinSeparator = "-".repeat(70) + + println(separator) + println("[$cardType] $cardName") + println(thinSeparator) + println("Эффект: $effectText") + println() + println("Правило: $ruleText") + println(thinSeparator) + println("Илл. $illustrator") + println(separator) } \ No newline at end of file