From 092304d9e0ccc37cc0ddaa9b136457e56a1cac20 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 12 Oct 2025 11:47:26 -0500 Subject: changing repositories --- modules/games-config.el | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 modules/games-config.el (limited to 'modules/games-config.el') diff --git a/modules/games-config.el b/modules/games-config.el new file mode 100644 index 00000000..7e2bebd6 --- /dev/null +++ b/modules/games-config.el @@ -0,0 +1,60 @@ +;;; games-config.el --- emacs games -*- lexical-binding: t; coding: utf-8; -*- +;; author Craig Jennings + +;;; Commentary: +;; The games menu is the easiest entry. "Shift-Alt-G" will get you there. Enjoy! +;; + +;;; Code: + + +;; ----------------------------------- Malyon ---------------------------------- +;; text based adventure player + +(use-package malyon + :defer 1 + :config + (setq malyon-stories-directory (concat sync-dir "text.games/"))) + +;; ------------------------------------ 2048 ----------------------------------- +;; combine numbered tiles to create the elusive number 2048. +(use-package 2048-game + :defer 1) + +;; ----------------------------------- Chess ----------------------------------- +;; play the 64 squares and checkmate the opponent's king +;; (use-package chess +;; :defer 1 +;; :config +;; (setq chess-default-display 'chess-images) +;; (setq chess-images-directory +;; (concat user-emacs-directory "assets/chess/pieces/xboard/")) +;; (setq chess-images-dark-color "#779556") +;; (setq chess-images-light-color "#EBECD0") +;; (setq chess-images-default-size 100) +;; (setq chess-full-name user-whole-name) +;; (setq chess-default-engine 'chess-fruit)) + + +;; Notes from source code +;; If you'd like to view or edit Portable Game Notation (PGN) files, +;; `chess-pgn-mode' provides a text-mode derived mode which can display the +;; chess position at point. + +;; To improve your chess ability, `M-x chess-tutorial' provides a simple knight +;; movement exercise to get you started, and `M-x chess-puzzle' can be used +;; to solve puzzle collections in EPD or PGN format. +;; The variable `chess-default-display' controls which display modules +;; are tried when a chessboard should be displayed. By default, chess-images +;; is tried first. If Emacs is not running in a graphical environment, +;; chess-ics1 is used instead. To enable the chess-plain display module, +;; customize `chess-default-display' accordingly. + +;; Once this is working, the next thing to do is to customize +;; `chess-default-modules'. This is a list of functionality modules used +;; by chess.el to provide additional functionality. You can enable or +;; disable modules so that Emacs Chess better suites your tastes. +;; Those modules in turn often have configuration variables, and + +(provide 'games-config) +;;; games-config.el ends here. -- cgit v1.2.3