This game came from Eloquent JavaScript. All the code is from Eloquent JavaScript except for the extra level I added. Disregard the comments I added, it was a learning exercise and I wanted to upload it for reference and possibly build something similar in a bit.