summaryrefslogtreecommitdiff
path: root/modules/games-config.el
blob: d162cd02a055afb8dff18697a3f98a2b0bcfe7fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
;;; games-config.el --- emacs games -*- lexical-binding: t; coding: utf-8; -*-
;; author Craig Jennings <c@cjennings.net>
;;
;;; Commentary:
;;
;; Configuration for games playable within Emacs. Available games include:
;;
;; - Malyon for playing interactive fiction and text adventures in Z-machine format
;;  (stories directory: ~/sync/org/text.games/)
;; - 2048 number-tile puzzle game
;;
;; Access games by using use the games menu with Shift-Alt-G or use via ~M-x <game-name>~
;;
;; 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 org-dir "text.games/")))

;; ------------------------------------ 2048 -----------------------------------
;; combine numbered tiles to create the elusive number 2048.
(use-package 2048-game
  :defer 1)

(provide 'games-config)
;;; games-config.el ends here.