added headers
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
;;; cube-scrambler.el --- Rubik's cube scrambler
|
||||||
|
|
||||||
|
;; Copyright (C) Jonathan Lamothe
|
||||||
|
|
||||||
|
;; Author: Jonathan Lamothe <jonathan@jlamothe.net>
|
||||||
|
;; Package-Version: 0.0
|
||||||
|
|
||||||
|
;; This file is not part of GNU Emacs.
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
(defvar cube-faces "UDLRFB")
|
(defvar cube-faces "UDLRFB")
|
||||||
|
|
||||||
(defun cube-scramble (moves)
|
(defun cube-scramble (moves)
|
||||||
@@ -39,3 +50,5 @@ FACE is a character representing the face to be turned."
|
|||||||
(defun cube-filter (str char)
|
(defun cube-filter (str char)
|
||||||
"Filters all instances of a character from a string"
|
"Filters all instances of a character from a string"
|
||||||
(seq-filter (lambda (c) (not (equal c char))) str))
|
(seq-filter (lambda (c) (not (equal c char))) str))
|
||||||
|
|
||||||
|
;;; cube-scrambler.el ends here
|
||||||
|
|||||||
Reference in New Issue
Block a user