Add a Hard Mode
Opened this issue · 0 comments
piracope commented
Hard Mode
Literally the same thing, but the lines don't show up. If set, it should only be applicable starting the next day.
How to do it
Create an object Settings in the localStorage. When clicking on a pre-made ON/OFF button, it should add an object to Settings, something like {hardMode: lvlNumber}. Or straight-up hardconding a value and making a
settings = {
lang: "fr"
HardMode: undefined
}
When the hard mode is set, settings.hardMode would take the current lvlNumber as value. On page init, if hardMode exists and isn't equal to current level number, then we simply don't buildLines