I’m posting a simple javascript game that I just finished, based on a project from a course that I have been taking as a supplement to what I’m working on here. I dressed it up a tiny bit and added a few functions that seemed like natural fits.
I’m hoping that you will play with it a bit, see if you can get it to break, and give me any and all feedback related to developing best practices as I continue to study. As ever, all of your input is greatly appreciated!
@james922, it looks good. Just a couple of suggestions;
on desktop there’s a lot of padding on top so I have to scroll down to see the play area. All that empty space on top isn’t necessary.
when the user loses, the entry area says “well done”. Maybe change that message.
when the user wins or loses and clicks on the ‘Play Again’ button it just toggles between showing them the final screen to an entry screen that doesn’t allow a number to be entered. User has to refresh the page for another replay.