2048: fix header and footer

This commit is contained in:
MitchMarq42 2023-01-15 19:56:39 -09:00
parent 0674d6b830
commit b81d5c134b

View File

@ -1,22 +1,38 @@
;; -*- lexical-binding: t -*-
;; E L I S P ,6*"*VA.
;; dN V8
;; pd*"*b. ,pP""Yq. ,AM `MN. ,g9
;; (O) j8 6W' `Wb AVMM ,MMMMq.
;; ,;j9 8M M8 ,W' MM 6P `YMb
;; ,-=' YA. ,A9 ,W' MM 8b `M9
;; Ammmmmmm 'Ybmmd7* AmmmmmMMmm `MmmmmM9
;; MM
;; Mark Burger, 2014 MM
;;
;; 1. Load this up with M-x eval-buffer OR put (load ".../2048.el") in your
;;; 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
;; (O) j8 6W' `Wb AVMM ,MMMMq.
;; ,;j9 8M M8 ,W' MM 6P `YMb
;; ,-=' YA. ,A9 ,W' MM 8b `M9
;; Ammmmmmm 'Ybmmd7* AmmmmmMMmm `MmmmmM9
;; MM
;; Mark Burger, 2014 MM
;;
;; 1. Load this up with M-x eval-buffer OR put (load ".../2048.el") in your
;; ~/.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
;; 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\".")
@ -358,3 +374,5 @@ individually."
(switch-to-buffer (get-buffer-create "*2048*"))
(2048-mode)
)
(provide '2048)
;;; 2048.el ends here