Collect the Coins! Beware of the Barbarians! Save Yourself by Sticking!
Thank you for checking out this game. I hope it is not too hard. Comment if the game has bugs and if you can finish all of the 14 levels. After 14 levels, you will be sent back to the first one.
If you upvote, thank you!
alert() and prompt() are blocking functions, which means that nobody can do anything until they've clicked OK. I suggest making your own popup which appears at the bottom of the screen and doesn't stop input.
For example, you could do something like
<div style="position:fixed;bottom:0px;width:100%;background-color:white;">Text here</div>