3 ms·
Oh well, thanks! I'll read the Sudoku solver after I get around to writing my own -- it helps to keep you from just nodding along.
by abecedarius 9y ago
Oh well, thanks! I'll read the Sudoku solver after I get around to writing my own -- it helps to keep you from just nodding along.
- jacquesm 9y agoI sent an email to see if I'm either mis-remembering or it got taken down. Ok, received answer from Peter Norvig, I must have mis-remembered who wrote what I read, but in the interest of completeness here is a life implementation by Peter Norvig (but not hashlife): https://github.com/norvig/pytudes/blob/master/Life.ipynb https://github.com/norvig/pytudes/blob/master/Life.ipynb
- abecedarius 9y agoNice. I saw one working like that in Clojure and rewrote it in my own Lisp: https://github.com/darius/squeam/blob/master/eg/bag-life.scm https://github.com/darius/squeam/blob/master/eg/bag-life.scm (the bag is like Python's Counter).