/sudoku

Old experiments with Compojure web development, including WebSockets, a port of Norvig's sudoku solver to Clojure, and some other basic stuff.

Primary LanguageJavaScript

sudoku

This was an experiment in teaching myself Compojure web development, with nifty transformer middleware, Hiccup-based page rendering, API endpoints with EDN data in transit, and other stuff.

At the time I was interested in Sudoku briefly because of David Nolen's incredible Sudoku solver written in Clojure's core.logic.

However I ended up implementing Peter Norvig's solver in Clojure instead (or at least trying to—can't remember if I finished), because I wanted to be able to intervene at each step of the solver's progress to send a WebSocket-based message from server to client, which in the end was probably the nicest thing about this tiny demo.