Learning Clojure and CLJS by playing a card game
summary
Builds a playable Gin Rummy system in Clojure: a pixel-reading Java Robot that screenshots the desktop, samples a few top-left pixels to recognize cards and drives the mouse; a browser version as a ClojureScript web client with drag/drop UI; a server backed by Datomic with t-based time travel to snapshot game state and handle reconnects. Porting from Scheme favors maps over lists. Attempts at a self-play neural-net AI run into local‑optima learning problems and need better exploration.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 4:39Functional programming with Scheme
- 9:00Gin Rummy robot in Clojure
- 16:26ClojureScript and web dev
- 24:46Clojure tools for projects
- 31:03AI experiments and insights








