Первая попытка распределение всех лабороторных работ

This commit is contained in:
GREYCATNERO
2026-09-09 07:47:15 +03:00
parent cdc6e6fecc
commit 82cd204b94
15 changed files with 288 additions and 53 deletions
+33
View File
@@ -0,0 +1,33 @@
fun main(){
pokémon_tcg()
}
fun pokémon_tcg() {
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("======================================================================")
println("[$cardType] $cardName [$cardSubtype]")
println("----------------------------------------------------------------------")
println("Эффект: $effectText")
println(" (Излечивает $healAmount HP)")
println("Правило: $ruleText")
println("----------------------------------------------------------------------")
println("Илл. $illustrator $cardNumber/$totalInSet ★")
println("======================================================================")
}
}