From 188aeae770af966c7a64d8185434373592123ede Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 11 Jul 2026 09:42:10 -0500 Subject: feat: add takuzu-config and wire it into init Wire the standalone Takuzu (Binairo) game with use-package and require it at startup so M-x takuzu is available. The package lives in its own repo and loads by :load-path. Switch to :vc once it is published. --- init.el | 1 + modules/takuzu-config.el | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 modules/takuzu-config.el diff --git a/init.el b/init.el index 591de3c8..d1128602 100644 --- a/init.el +++ b/init.el @@ -162,6 +162,7 @@ ;; their own commands via package.el; games-config only supplies malyon's config, ;; so load it when malyon loads rather than requiring it at startup. (with-eval-after-load 'malyon (require 'games-config)) +(require 'takuzu-config) ;; Takuzu (Binairo) puzzle on M-x takuzu; package in ~/code/takuzu ;; ------------------------------- Misc Modules -------------------------------- diff --git a/modules/takuzu-config.el b/modules/takuzu-config.el new file mode 100644 index 00000000..470aaec8 --- /dev/null +++ b/modules/takuzu-config.el @@ -0,0 +1,17 @@ +;;; takuzu-config.el --- Takuzu (Binairo) game configuration -*- lexical-binding: t -*- + +;;; Commentary: +;; Wire the standalone takuzu game package (developed at ~/code/takuzu). +;; Play with M-x takuzu. Switch to :vc once it is published on GitHub. + +;;; Code: + +(use-package takuzu + :load-path "~/code/takuzu" + :commands (takuzu) + :custom + (takuzu-default-size 6) + (takuzu-default-difficulty 'easy)) + +(provide 'takuzu-config) +;;; takuzu-config.el ends here -- cgit v1.2.3