Open helenzhou6 opened 5 years ago
This also happens when I pressed Start - perhaps try hiding and showing certain buttons at certain points (e.g. Only after pressing Start do the other buttons appear) to minimise the bugs :)
Looks this line needs to be hidden depending on whether the game has started or not: https://github.com/fac-15/hangman/blob/cfb092c5140917637031a48952d3f61736073a3d/form.js#L98
So there may need to be something in the state to indicate whether the game has started or not
it wont display, this was just to show during the development. We need to incorporate generator random name & fill array at the same time with the same click