Advent of Code

Coding Challenge Coding Live

Santa was hoping for a white Christmas, but his weather machines snow function is powered by stars, and hes fresh out! To save Christmas, he needs you to collect

Collect stars by helping Santa solve puzzles. Two puzzles will be made available on each day in the advent calendar; the second puzzle is unlocked when you complete the first. Each puzzle grantsone star.Good luck!

Heres an easy puzzle to warm you up.

Santa is trying to deliver presents in a large apartment building, but he cant find the right floor – the directions he got are a little confusing. He starts on the ground floor (floor0) and then follows the instructions one character at a time.

(Twitter users: if you have auth problems that claim There is no request token for this page, please clear your cookies and try again.)

To play, please identify yourself via one of these services:

Towhat floordo the instructions take Santa?

An opening parenthesis,(, means he should go up one floor, and a closing parenthesis,), means he should go down one floor.

The apartment building is very tall, and the basement is very deep; he will never find the top or bottom floors.

Leave a Reply