I wrote this game when I was in high school. I later ported it to js in 2014.
I tried to preserve as much of the behavior and code structure as I wrote it originally, bugs and all.