aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-11 09:42:10 -0500
committerCraig Jennings <c@cjennings.net>2026-07-11 09:42:10 -0500
commit188aeae770af966c7a64d8185434373592123ede (patch)
treeccf9b31a3cd39fb9924db763da5e2be5413cc982
parent99da5e640310a12b67a63764f430fca3fa6de9e1 (diff)
downloaddotemacs-188aeae770af966c7a64d8185434373592123ede.tar.gz
dotemacs-188aeae770af966c7a64d8185434373592123ede.zip
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.
-rw-r--r--init.el1
-rw-r--r--modules/takuzu-config.el17
2 files changed, 18 insertions, 0 deletions
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