;; o The code for updating the grid needs to be re-done. At the moment it
;; simply re-draws the grid every time a move is made.
;;
-;; o Look into tarting up the display with color. gamegrid.el looks
+;; o Look into starting up the display with color. gamegrid.el looks
;; interesting, perhaps that is the way to go?
;;; Thanks:
;;; Code:
-;; Things we need.
-
(eval-when-compile (require 'cl-lib))
;; Customize options.
(defcustom 5x5-grid-size 5
"Size of the playing area."
- :type 'integer
- :group '5x5)
+ :type 'integer)
(defcustom 5x5-x-scale 4
"X scaling factor for drawing the grid."
- :type 'integer
- :group '5x5)
+ :type 'integer)
(defcustom 5x5-y-scale 3
"Y scaling factor for drawing the grid."
- :type 'integer
- :group '5x5)
+ :type 'integer)
(defcustom 5x5-animate-delay .01
"Delay in seconds when animating a solution crack."
- :type 'number
- :group '5x5)
+ :type 'number)
(defcustom 5x5-hassle-me t
"Should 5x5 ask you when you want to do a destructive operation?"
- :type 'boolean
- :group '5x5)
+ :type 'boolean)
(defcustom 5x5-mode-hook nil
"Hook run on starting 5x5."
- :type 'hook
- :group '5x5)
+ :type 'hook)
;; Non-customize variables.