Some issues: 1. You should add code to keep diamonds from spawning in rocks. It'd be simple to implement: Check if the diamond spawn location is rock, and if it is, don't spawn it. 2. Don't use a dialog for user name entry; use a form or something instead. In my browser (Chromium on Linux Mint), the dialog locks the entire browser window until I type in a name, even if I don't want to play -- maybe I just want to cli…
The project was built in 2 days over the weekend, so there are few bugs.