2048: fix header and footer
This commit is contained in:
parent
0674d6b830
commit
b81d5c134b
22
lisp/2048.el
22
lisp/2048.el
@ -1,4 +1,17 @@
|
||||
;; -*- lexical-binding: t -*-
|
||||
;;; 2048.el --- Play the game 2048 in Emacs -*- lexical-binding: t -*-
|
||||
|
||||
;; Copyright 2014 Mark Burger
|
||||
;; 2023 additions by Mitchell Marquez
|
||||
|
||||
;; Author: Mark Burger
|
||||
;; Maintainer: Mitchell Marquez
|
||||
;; Version: 0.2
|
||||
;; Package-Requires: ((dash))
|
||||
;; Keywords: games
|
||||
|
||||
;; This file is not part of GNU Emacs.
|
||||
|
||||
;;; Commentary:
|
||||
;; E L I S P ,6*"*VA.
|
||||
;; dN V8
|
||||
;; pd*"*b. ,pP""Yq. ,AM `MN. ,g9
|
||||
@ -13,11 +26,14 @@
|
||||
;; ~/.emacs file
|
||||
;; 2. Use M-x play-2048 to start playing.
|
||||
;;
|
||||
;; Possible future additions: NxN board size rather than hard-coded 4x4
|
||||
;; Features:
|
||||
;; - NxN board size rather than hard-coded 4x4 (customize `2048--board-size')
|
||||
;;
|
||||
|
||||
;; edits made by Mitchell Marquez <dr.m.perseos@gmail.com> on 2023-01-11
|
||||
|
||||
;;; Code:
|
||||
|
||||
(defvar 2048--cell-width 6
|
||||
"Width of number cells for 2048. Should be at least 4 to fit \"2048\".")
|
||||
(defvar 2048--board-size 4
|
||||
@ -358,3 +374,5 @@ individually."
|
||||
(switch-to-buffer (get-buffer-create "*2048*"))
|
||||
(2048-mode)
|
||||
)
|
||||
(provide '2048)
|
||||
;;; 2048.el ends here
|
||||
|
Loading…
Reference in New Issue
Block a user