Keep track of the current language and make sure it is set to a default value when the page is initialized
Add test to ensure the number of attempts is updated.
Use utf-8 encoding in the test document. (Makes Norwegian characters behave nicer)
No longer store a variable inside the translations. Move some parts into a SlidingPuzzle namespace. Tests to ensure the number of attempts is updated and displayed in the correct language. Still missing: add the number of attempts when switching language
Doesn't update the attempts counter when setting up the board for a new game
Switch to using the new code for updating the display of attempts throughout the game
Here's a crazy idea: change the existing speed-related variables rather than creating new ones. (Oops)
This is already done in the HTML from what I can see