Simon Dice Game Game created with JavaScript Refactor I want to do a refactor because the game have bugs (for example: when you loose, the game follows)