Subject: Add emacs-game-2048.
From: ng0 <[email-masked]>
To: [email-masked]
Date: Wed, 30 Aug 2017 09:44:03 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch appended.
Tested: M-x game-2048
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org
From 3bdb229258e29fd8a5c563e8089c1cb8d8674bc6 Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Wed, 30 Aug 2017 09:41:26 +0000
Subject: [PATCH] gnu: Add emacs-2048-game.

* gnu/packages/emacs.scm (emacs-2048-game): New variable.
---
 gnu/packages/emacs.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 1c3f8c137..821c7b36c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2016 David Thompson <[email-masked]>
 ;;; Copyright © 2016 Matthew Jordan <[email-masked]>
 ;;; Copyright © 2016, 2017 Roel Janssen <[email-masked]>
-;;; Copyright © 2016, 2017 ng0 <[email-masked]>
+;;; Copyright © 2016, 2017 ng0 <[email-masked]>
 ;;; Copyright © 2016 Alex Griffin <[email-masked]>
 ;;; Copyright © 2016, 2017 Nicolas Goaziou <[email-masked]>
 ;;; Copyright © 2016 Alex Vong <[email-masked]>
@@ -2603,6 +2603,30 @@ transparent background.  If you load it from a GUI, it will default to a
 dark background.")
     (license license:gpl3+)))
 
+(define-public emacs-2048-game
+  (package
+    (name "emacs-2048-game")
+    (version "20151026.1233")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://melpa.org/packages/2048-game-"
+                           version ".el"))
+       (sha256
+        (base32
+         "0gy2pvz79whpavp4jmz8h9krzn7brmvv3diixi1d4w51pcdvaldd"))))
+    (build-system emacs-build-system)
+    (home-page "https://bitbucket.org/zck/2048.el")
+    (synopsis "Implementation of the game 2048 in elisp")
+    (description
+     "This program is an implementation of 2048 for Emacs.
+
+The goal of this game is to create a tile with value 2048.
+
+The size of the board and goal value can be customized -- see the
+variables *2048-columns*, *2048-rows*, and *2048-victory-value*.")
+  (license license:gpl3+)))
+
 (define-public emacs-smartparens
   (package
     (name "emacs-smartparens")
-- 
2.14.1