To remove comments that start with "//", you might want to consider changing line 180 to:

```javascript 
guess.replace(/\/\/[^\n]*/g, "\n").replace(/\s+/g, "") === solution;
```