From ffcb77293741ce1a3cd484a2f330180bf2079197 Mon Sep 17 00:00:00 2001
From: Tim Petricola
Date: Wed, 12 Mar 2014 10:56:54 -0400
Subject: [PATCH 1/4] Fix README
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index fe2ba5b..6b0d3bf 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ Made just for fun. [Play it here!](http://gabrielecirulli.github.io/2048/)
### Contributions
- - [TimPetricola](https://github.com/warmwaffles) added best score storage
+ - [TimPetricola](https://github.com/TimPetricola) added best score storage
- [chrisprice](https://github.com/chrisprice) added custom code for swipe handling on mobile
Many thanks to [rayhaanj](https://github.com/rayhaanj), [Mechazawa](https://github.com/Mechazawa), [grant](https://github.com/grant), [remram44](https://github.com/remram44) and [ghoullier](https://github.com/ghoullier) for the many other good contributions.
From fc6206ab395d32dafd2fff70df9bf246f7453647 Mon Sep 17 00:00:00 2001
From: "G. Bodenschatz"
Date: Wed, 12 Mar 2014 18:03:11 +0100
Subject: [PATCH 2/4] [BUGFIX] Add touch event handler for retry button
---
js/keyboard_input_manager.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/js/keyboard_input_manager.js b/js/keyboard_input_manager.js
index 24dde7a..b85c8c2 100644
--- a/js/keyboard_input_manager.js
+++ b/js/keyboard_input_manager.js
@@ -55,6 +55,7 @@ KeyboardInputManager.prototype.listen = function () {
var retry = document.getElementsByClassName("retry-button")[0];
retry.addEventListener("click", this.restart.bind(this));
+ retry.addEventListener("touchend", this.restart.bind(this));
// Listen to swipe events
var touchStartClientX, touchStartClientY;
From 425076c759f131c98cb1bbd78b14ee5368a50d77 Mon Sep 17 00:00:00 2001
From: Gabriele Cirulli
Date: Thu, 13 Mar 2014 16:51:55 +0100
Subject: [PATCH 3/4] add official site note
---
index.html | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/index.html b/index.html
index 5046905..85bb445 100644
--- a/index.html
+++ b/index.html
@@ -69,6 +69,10 @@
+ Note: This site is the official version of 2048. Play it on your phone from http://git.io/2048. All other versions or sites are derivatives or fakes, and should be used with due caution.
+
+
+
Created by Gabriele Cirulli. Based on 1024 by Veewo Studio and conceptually similar to Threes by Asher Vollmer.
From d7ef12e41c44dab6a3966d28fd6050f44fcec65c Mon Sep 17 00:00:00 2001
From: Gabriele Cirulli
Date: Thu, 13 Mar 2014 17:10:14 +0100
Subject: [PATCH 4/4] change site note
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 85bb445..fb97bf2 100644
--- a/index.html
+++ b/index.html
@@ -69,7 +69,7 @@
- Note: This site is the official version of 2048. Play it on your phone from http://git.io/2048. All other versions or sites are derivatives or fakes, and should be used with due caution.
+ Note: This site is the official version of 2048. You can play it on your phone via http://git.io/2048. All other apps or sites are derivatives or fakes, and should be used with caution.