Choose Your Own Adventure

I was taking what I assumed to be a normal web design course, but near the end of the semester our professor surprised us; instead of having a final exam, we would be doing a group project.
We were randomly assigned group members, and I had a good enough idea that I was designated as the group leader.
(If you already read the Hidden Town article, I'd like you to know that I was leading both this project and Hidden town simultaneously.)
I decided that we would do a choose-your-own-adventure type game, but do it in a way where your choices would be recorded, and then displayed at the end of the game comparing your results to other players.
You can play the finished game here.
Unfortunately the game's coolest feature doesn't work without a server connection. The game would utilize a SQL server connection to store the choice results from the players, then use the Google Charts API to display the results in some nice charts. So don't be surprised if the "Results" button doesn't work.
Practically everything was coded by me; I designed the data structure of the story, the button functions, pretty much everything. One of our members only wrote one line of code, and it was wrong, leading to me fixing it.
You can see the Javascript code for the site here.
This code is probably the most up-to-date style of how I code; tons of comments, easily maintainable code and data structures, you name it.