diff --git a/practice/sandbox/out/production/sandbox/TypeIntroKt.class b/practice/sandbox/out/production/sandbox/TypeIntroKt.class index a25e2e7dd0fd8a2691fed80ef782cb48ea6a080e..266982fa02bda3764a8d4dc6e79e4a1b7640f8dc 100644 Binary files a/practice/sandbox/out/production/sandbox/TypeIntroKt.class and b/practice/sandbox/out/production/sandbox/TypeIntroKt.class differ diff --git a/practice/sandbox/src/TypeIntro.kt b/practice/sandbox/src/TypeIntro.kt index 6bf16f0bb586c1faed95975788d62d9c4f4c0f4f..32c2feaa6b6e0f3939ce1b8de9c2f7e2fb7802e6 100644 --- a/practice/sandbox/src/TypeIntro.kt +++ b/practice/sandbox/src/TypeIntro.kt @@ -1,7 +1,18 @@ fun main() { - val playerName: String = "에스트라곤" - var experiencePoints: Int = 5 + val playerName = "에스트라곤" + val barName = "Unicorn's Horn" + val barOwnerName = "디오니소스" + var hasSteed = "false" + var experiencePoints = 5 + val alcoholList = listOf("honey beer", "wine", "Lacroix") + var goldfinich = 0 experiencePoints += 5 - println(playerName) - println(experiencePoints) + goldfinich += 50 + println(playerName + "의 점수는 " + experiencePoints) + println("현재 말을 소유하고 있는지 여부: " + hasSteed) + println(barName + "에 도착했다.") + println(playerName + "은 이렇게 말했다") + println("나는 금화 "+ goldfinich+ "개가 있으니 술을 먹겠다.") + println("술집주인 " + barOwnerName + "는 말한다") + println("현재 " + alcoholList +"가 있습니다. 무엇을 드릴까요?") } \ No newline at end of file