codeschool-projects / CodeBreakerProject

Code Breaker: Challenge Friends with a Game Written using Javascript
https://codeschool-projects.github.io/CodeBreakerProject/
MIT License
26 stars 1.03k forks source link

window.reload() on clicking Play again? button #32

Open juliaanholcer opened 7 years ago

juliaanholcer commented 7 years ago

In index.html file window.reload() function should be called with true attribute, to pull the site from the server, because otherwise it preserves the values of answer, attempt and user-guess inputs.