There was an error while loading. Please reload this page.
1 parent 81fff94 commit 23c4499Copy full SHA for 23c4499
src/main/kotlin/me/grison/aoc/y2022/Day02.kt
@@ -25,11 +25,8 @@ class Day02 : Day(2, 2022) {
25
).withDefault { 0 }
26
27
private val roundEnding = mapOf(
28
- // lose
29
- "A X" to 'Z' /* 🗿⤑✂️ */, "B X" to 'X' /* 📜⤑✂️ */, "C X" to 'Y' /* ✂️⤑📜 */,
30
- // draw
31
- "A Y" to 'X' /* 🗿⤑🗿 */, "B Y" to 'Y' /* 📜⤑📜 */, "C Y" to 'Z' /* ✂️⤑✂️ */,
32
- // win
33
- "A Z" to 'Y' /* 🗿⤑📜 */, "B Z" to 'Z' /* 📜⤑✂️ */, "C Z" to 'X' /* ✂️⤑🗿 */
+ "A X" to 'Z' /* 🗿⤑✂️ */, "B X" to 'X' /* 📜⤑✂️ */, "C X" to 'Y' /* ✂️⤑📜 */, // lose
+ "A Y" to 'X' /* 🗿⤑🗿 */, "B Y" to 'Y' /* 📜⤑📜 */, "C Y" to 'Z' /* ✂️⤑✂️ */, // draw
+ "A Z" to 'Y' /* 🗿⤑📜 */, "B Z" to 'Z' /* 📜⤑✂️ */, "C Z" to 'X' /* ✂️⤑🗿 */ // win/
34
)
35
}
0 commit comments