I Ported Sudoku to Your URL Bar and It Plays like a Dream

Zero refreshes required. This is Sudoku as you've never seen it. Away from the prying eyes of your co-workers and your boss. Powered by the dark arts of window.location.hash. So powerful that just loading the page will cause your browser's history to rue the day.

Playable right here, Secret Suduko unlocked a series of unique experiences for me. It's not every day that you find yourself brute forcing a 19th-century newspaper puzzle. Or, better yet, getting Travis CI to do it for you.

test('app plays without error',()=>{constgame=main(this,sudoku);game.startGame();for(leti=0;i<20000;i++){// 0-81, 0-9if(game.play(Math.floor(Math.random()*82),Math.floor(Math.random()*10))===true){/* This test will usually complete the game six times over,
adjust the difficulty randomly on completion */game.startGame(Math.floor(Math.random()*6));};}});

It turns out that all you need are some emotes, a few eventlisteners, and a dream. Many thanks to Rob McGuire-Dale and his wonderful Sudoku generator/solver.

Secret Sudoku is the perfect project to work on to help me relax in the evenings. It makes programming feel far more fun than logic abstraction should. Taking pull-requests today and every day hereafter.