- sound: parseInt(localStorage.getItem("sound")) || 1,
- hints: localStorage.getItem("hints") == "true",
- highlight: localStorage.getItem("highlight") == "true"
+ sound: getItemDefaultTrue("sound"),
+ hints: getItemDefaultTrue("hints"),
+ highlight: getItemDefaultTrue("highlight"),
+ randomness: parseInt(localStorage.getItem("randomness"))