Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dial "S" for Sudoku #116

Open
greg-kennedy opened this issue Nov 25, 2017 · 2 comments
Open

Dial "S" for Sudoku #116

greg-kennedy opened this issue Nov 25, 2017 · 2 comments
Labels
completed For completed novels! preview There is an excerpt somewhere in the thread!

Comments

@greg-kennedy
Copy link

Dial "S" for Sudoku

Read the novel here.

View the code here.

This is a novel about Alice solving Sudoku puzzles. Alice sits at the kitchen table, methodically working her way through a series of puzzles of increasing difficulty. She takes frequent breaks to daydream and reminisce. In between puzzles, there are excerpts from her dream diary - because 50,000 words of Sudoku solving is just plain monotonous.

Preview

screenshot 2017-11-24 at 7 23 25 pm-min

@greg-kennedy
Copy link
Author

greg-kennedy commented Nov 25, 2017

If you're interested in the details of the Sudoku solving, I encourage you to check out the code repo. README.md gives a brief overview of the solution process, as well as a couple of links to websites that go into much more (and better) detail than I did. There's also a standalone version of the solver without any of the text or image generation.

Amazingly, on modern hardware, it's actually possible to brute-force solve a Sudoku puzzle in "reasonable" time. But that would have made for a very boring novel.


This was a fun diversion from my other entry for this year, but I ran into trouble because the word count ended up being agonizingly low. Hence, the templated Corpora dreams (and still not enough). The last puzzle was added to basically double the novel size when I ran out of ideas and motivation. Since I don't expect anyone to actually read the whole thing, the puzzles and dreams are ordered by increasing length / complexity. That way, readers can get the basic idea before skipping to the surprise ending.

Admittedly, the other reason I wanted to do this one is that I feel after five years we need some mascots / recurring characters. So, Alice gets her own book : )


While the "annoyingly verbose CompSci 101 Algorithm" genre is entertaining, I feel I've done enough damage with my two novels this year, and probably won't revisit it in the future. I do look forward to others making attempts in this field, and eagerly await the rest of the series:

  • Alice Inefficiently Sorts a Series of Random Numbers
  • Hannah and the Halting Problem, and of course
  • Death of a Travelling Salesman.

@hugovk hugovk added completed For completed novels! preview There is an excerpt somewhere in the thread! labels Nov 25, 2017
@superMDguy
Copy link

This is great! I love the graphics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed For completed novels! preview There is an excerpt somewhere in the thread!
Projects
None yet
Development

No branches or pull requests

3 participants