;;; 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.