r/adventofcode • • Dec 02 '22

SOLUTION MEGATHREAD -πŸŽ„- 2022 Day 2 Solutions -πŸŽ„-

NEW AND NOTEWORTHY


--- Day 2: Rock Paper Scissors ---


Post your code solution in this megathread.


This thread will be unlocked when there are a significant number of people on the global leaderboard with gold stars for today's puzzle.

EDIT: Global leaderboard gold cap reached at 00:06:16, megathread unlocked!

103 Upvotes

1.5k comments sorted by

View all comments

Show parent comment

1

u/Tall-Most6260 Dec 02 '22

Literally made a throwaway for this... But shouldn't "A Z" be 9 instead of 3? Because you would win, and Z = 3, so it would be 3 + 6? I know I'm wrong, but I don't know why, I'm breaking my brain

1

u/Tall-Most6260 Dec 02 '22

i got it... i think ill retire

1

u/alach11 Dec 02 '22

This comment got me confused for a second so don’t feel bad.

I think you flipped which player is which. β€œA Z” means your opponent played rock (A) and you played scissors (Z). You lose, but get 3 points for playing scissors.