GithubHelp home page GithubHelp logo

2048-android's Introduction

2048-android

Build Status

This is the Android port of the 2048 game made by Gabriele Cirulli https://github.com/gabrielecirulli/2048 It's nothing fancy; just a WebView that loads the locally stored html files of the original game. I just wanted to make it instantly playable without internet (the app doesn't require any permissions), and with a quick access icon for my smartphone.

Feel free to contribute with pull requests to the original project by Gabriele, or to this one if you have any Android-specific improvements in mind.

Get it on Google Play Get it on F-Droid

Building

If you want to build from source, just do

git clone --recursive https://github.com/uberspot/2048-android.git
cd 2048-android
git submodule update --init --recursive
./gradlew build

With Eclipse

  1. Copy https://github.com/uberspot/2048-android.git to clipboard
  2. File -> Import -> Git / Projects from Git -> Clone URI
  3. Paste URI from clipboard (if it did not appeared automatically)
  4. Next> Next> Check "Clone submodules"
  5. Next> select "Import existing project"

With Android Studio

  1. Follow first three lines of Building directions.
  2. In Android Studio selection "Open an existing Android Studio Project"
  3. When prompted, add the VCS root.

License

2048-android is licensed under the MIT license.

2048-android's People

Contributors

a4vi2r avatar alexara avatar amoseui avatar bvaleo avatar eighthave avatar lekky71 avatar meskobalazs avatar mongata avatar paulvi avatar poussinou avatar princessruthie avatar robinvandervliet avatar ryuzakikk avatar scompo avatar smahdifaghih avatar stevenlees0ht avatar tacothedank avatar uberspot avatar xinxinxinxinxin avatar zygimantus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

2048-android's Issues

Tapping on "undo" after "new game" produces three buttons

If you tap on "undo", a screen with two buttons ("undo", "cancel") appears. And normally, if you tap on "new game", a screen with also two buttons ("ok", "cancel") appears.

But if you tap on "undo", don't dismiss the screen and tap additionally on "new game", there are three buttons: "undo", "ok" and "cancel". I'd expect the two buttons from one screen to be replaced by the two buttons from the other screen.

The three buttons' actions do work as intended.

Assets folder is empty..

I get an error that index.html is not found in assets folder...is anyone else facing this issue?

Larger font (from accessibility options) looks awful

I have bad eyesight, so I use the larger font feature provided by the accessibility options on my phone. However, the tile numbers hang too low in this case, and the lower part of the number is cropped. I'd supply a screenshot if I knew how to take one on a phone.

I'm on Android 7.1.2. The settings are:

  • Font size: largest
  • Display size: large

Cannot find index.html

This is all I get on my phone: Web page not available "file:///android_asset/2048/index.html"

I don't know whether this is caused by the game itself or because I do not have the default Google browser on my phone ("only" Lightning Browser and Opera).

Need Suggestion

If i will use your code along with some minor changes. Then will i be able to distribute it legally in playstore if i will mention your name in the description of playstore. (As you have licensed your code under MIT License).

[FR] Tetris mode

Seen a game where numbers fall as in Tetris. Didn't try it but seems fun!

F-Droid build won't start

Hi. I've just installed the apk from F-Droid. On clicking the icon a standard Android "website unavailable" screen shows, claiming that the "web" [sic] file:///android_asset/2048/index.html might be temporarily out of service or has moved.

This is on a Xperia ST21i with Android 4.04.

Looks like a hang, work around by UNDO

I reached more than 102400 points and still have open spaces. Highest piece is 8192.
The situation is as follows:
Whenever I make a move it won't show up. Further input is impossible (at least it looks like).
I use the UNDO to revert my move, then the previous situation gets shown. Then I can make ONE more move and I have to go through the UNDO loop again. Very annoying.
When starting the app I see a score of 0 and a high score of 0. When using the UNDO my current game board is shown again and I can start with ONE move.

System: Wiko Cink Peax 2, Android 4.1.2 (kernel 3.4.5, build ALPS.JB.SP.V1)

webpage not available

When first started, it shows error with: file:///android_asset/2048/index.html?lang=en could not be loaded because: ERR_FILE_NOT_FOUND

Any help?

Enable 180° rotation

I sometimes like to rotate my phone 180° because the charger cable is annoying me. It would be nice if the game would rotate as well. It's so hard to play upside down. ;-)

changelog

Please add a change log, for example i would like to know what has changed between version 1.90 and 1.91 and between version 1.91And 1.95.

Thanks ang greatings. I am using fdroid:

2048 (Puzzle game) - https://f-droid.org/app/com.uberspot.a2048

Too easy to accidentally press restart when 2048 is reached.

Numerous times now I've gotten to 2048 and simply kept playing, and if I happen to be unfortunate enough to swipe on the right side of the screen, the game restarts. This is very frustrating. Part of the problem is that the animation takes a (relatively) long time, which is nice for the effect the first time there, and IMO annoying thereafter. I see two easy solutions:

  • Don't initiate a button press if the press would normally be determined a swipe
  • Add a configuration option to disable the victory screen.

Does not fit on small screen

The game works perfectly on my S3, but on the Samsung Pocket it's impossible to see the last row. I couldn't find a way to reduce zoom either.

Crash when game over

When I lose, an advise is showed to let me play a new game or not doing it.
In the past version, I've pushed not doing it because that way, I could make a screenshot but now, it just crashes.

sensitivity of the touch

Good morning, I was wondering if it was possible to introduce the sensitivity of the touch at the bottom (the white one to be clear), so as to make the game more enjoyable on smartphones with large screen.

missing landscape mode

Thanks for the nice app!
But on my Tablet it's not perfect to play because it's not working in landscape mode...

file:///android_asset/2048/index.html issue

I downloaded the zip (yes, I extracted the zip file) from github to insert into android studio to check out / reverse engineer the code.

When I build to my phone, i get the error: "file:///android_asset/2048/index.html is missing"
.
I guess I'm baffled as to why this is popping up, what am I missing?

I have included a screenshot of the build in android studio.

2048screenshot

Build failed

Try to build to be included in F-Droid repot, but failed:

[shnoulle@beldaran 2048-android]$ ./gradlew --debug build
13:37:16.022 [INFO] [org.gradle.BuildLogger] Starting Build
13:37:16.037 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /home/shnoulle/.gradle
13:37:16.039 [DEBUG] [org.gradle.BuildLogger] Current dir: /home/shnoulle/Développements/GIT/TEST/2048-android
13:37:16.041 [DEBUG] [org.gradle.BuildLogger] Settings file: null
13:37:16.043 [DEBUG] [org.gradle.BuildLogger] Build file: null
13:37:16.072 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Starting to build the build sources.
13:37:16.079 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Gradle source dir does not exist. We leave.
13:37:16.089 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
13:37:16.092 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
13:37:16.252 [DEBUG] [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.158 secs
13:37:16.262 [INFO] [org.gradle.BuildLogger] Settings evaluated using settings file '/master/settings.gradle'.
13:37:16.674 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks' from state Known to Created
13:37:16.691 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Running model element 'tasks' rule action Project.<init>.tasks()
13:37:16.694 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Mutating tasks using Project.<init>.tasks()
13:37:16.700 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks' to state ProjectionsDefined.
13:37:16.703 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Running model element 'tasks' rule action Project.<init>.tasks()
13:37:16.706 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Mutating tasks using Project.<init>.tasks()
13:37:16.757 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks' to state Created.
13:37:16.869 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'nodeInitializerRegistry' from state Known to ProjectionsDefined
13:37:16.895 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Running model element 'nodeInitializerRegistry' rule action Project.<init>.nodeInitializerRegistry()
13:37:16.920 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Mutating nodeInitializerRegistry using Project.<init>.nodeInitializerRegistry()
13:37:16.961 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'nodeInitializerRegistry' to state ProjectionsDefined.
13:37:16.977 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: /home/shnoulle/Développements/GIT/TEST/2048-android/gradle.properties
13:37:16.987 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue!
13:37:16.992 [INFO] [org.gradle.BuildLogger] Projects loaded. Root project using build file '/home/shnoulle/Développements/GIT/TEST/2048-android/build.gradle'.
13:37:16.996 [INFO] [org.gradle.BuildLogger] Included projects: [root project '2048-android']
13:37:17.417 [INFO] [org.gradle.configuration.project.BuildScriptProcessor] Evaluating root project '2048-android' using build file '/home/shnoulle/Développements/GIT/TEST/2048-android/build.gradle'.
13:37:17.464 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface virbr0
13:37:17.466 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
13:37:17.469 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
13:37:17.475 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /192.168.124.1
13:37:17.479 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface virbr0
13:37:17.483 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface wlp2s0
13:37:17.486 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
13:37:17.488 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
13:37:17.491 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:42e2:30ff:fee8:e7f1%wlp2s0
13:37:17.494 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /2a01:e35:2e9c:1ac0:42e2:30ff:fee8:e7f1%wlp2s0
13:37:17.496 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /192.168.0.120
13:37:17.498 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface wlp2s0
13:37:17.500 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface enp3s0
13:37:17.504 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
13:37:17.508 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
13:37:17.510 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:feaa:14ff:fedb:bdc5%enp3s0
13:37:17.512 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /2a01:e35:2e9c:1ac0:feaa:14ff:fedb:bdc5%enp3s0
13:37:17.514 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /192.168.0.130
13:37:17.516 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface enp3s0
13:37:17.517 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface lo
13:37:17.519 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? true
13:37:17.521 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false
13:37:17.524 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback address /0:0:0:0:0:0:0:1%lo
13:37:17.526 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback address /127.0.0.1
13:37:17.558 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on cp_proj class cache for build file '/home/shnoulle/Développements/GIT/TEST/2048-android/build.gradle' (/home/shnoulle/.gradle/caches/2.8/scripts/build_tlq1ch3f54tbt4ige49tepdw/cp_proj).
13:37:17.563 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
13:37:18.374 [DEBUG] [org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator] No local repository in Settings file defined. Using default path: /home/shnoulle/.m2/repository
13:37:18.916 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on artifact cache (/home/shnoulle/.gradle/caches/modules-2).
13:37:18.923 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
13:37:18.929 [DEBUG] [org.gradle.cache.internal.locklistener.DefaultFileLockContentionHandler] Starting file lock listener thread.
13:37:18.981 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'ivy.default.settings.dir' to 'jar:file:/home/shnoulle/.gradle/wrapper/dists/gradle-2.8-all/5gvqtptsvj5jeqpfiir33enq91/gradle-2.8/lib/plugins/ivy-2.2.0.jar!/org/apache/ivy/core/settings'
13:37:18.986 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'ivy.basedir' to '/home/shnoulle/Développements/GIT/TEST/2048-android/.'
13:37:18.988 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'ivy.default.conf.dir' to 'jar:file:/home/shnoulle/.gradle/wrapper/dists/gradle-2.8-all/5gvqtptsvj5jeqpfiir33enq91/gradle-2.8/lib/plugins/ivy-2.2.0.jar!/org/apache/ivy/core/settings'
13:37:19.095 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'jna.platform.library.path' to '/usr/lib64:/lib64'
13:37:19.097 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.runtime.name' to 'OpenJDK Runtime Environment'
13:37:19.100 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.vm.version' to '25.72-b16'
13:37:19.103 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'sun.boot.library.path' to '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-9.b16.fc23.x86_64/jre/lib/amd64'
13:37:19.105 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.vm.vendor' to 'Oracle Corporation'
13:37:19.107 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.vendor.url' to 'http://java.oracle.com/'
13:37:19.108 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'path.separator' to ':'
13:37:19.110 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.vm.name' to 'OpenJDK 64-Bit Server VM'
13:37:19.112 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'file.encoding.pkg' to 'sun.io'
13:37:19.116 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'sun.os.patch.level' to 'unknown'
13:37:19.117 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'user.country' to 'FR'
13:37:19.121 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'sun.java.launcher' to 'SUN_STANDARD'
13:37:19.137 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.vm.specification.name' to 'Java Virtual Machine Specification'
13:37:19.149 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'user.dir' to '/home/shnoulle/Développements/GIT/TEST/2048-android'
13:37:19.151 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.runtime.version' to '1.8.0_72-b16'
13:37:19.153 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.awt.graphicsenv' to 'sun.awt.X11GraphicsEnvironment'
13:37:19.155 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'os.arch' to 'amd64'
13:37:19.157 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.endorsed.dirs' to '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-9.b16.fc23.x86_64/jre/lib/endorsed'
13:37:19.159 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.io.tmpdir' to '/tmp'
13:37:19.161 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'line.separator' to '
'
13:37:19.164 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'org.gradle.appname' to 'gradlew'
13:37:19.167 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.vm.specification.vendor' to 'Oracle Corporation'
13:37:19.169 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'os.name' to 'Linux'
13:37:19.171 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'sun.jnu.encoding' to 'UTF-8'
13:37:19.173 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.library.path' to '/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib'
13:37:19.175 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'http.keepAlive' to 'true'
13:37:19.177 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.class.version' to '52.0'
13:37:19.179 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.specification.name' to 'Java Platform API Specification'
13:37:19.180 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'sun.management.compiler' to 'HotSpot 64-Bit Tiered Compilers'
13:37:19.182 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'os.version' to '4.4.3-300.fc23.x86_64'
13:37:19.184 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'user.home' to '/home/shnoulle'
13:37:19.186 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'user.timezone' to 'Europe/Paris'
13:37:19.188 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.awt.printerjob' to 'sun.print.PSPrinterJob'
13:37:19.190 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'file.encoding' to 'UTF-8'
13:37:19.192 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.specification.version' to '1.8'
13:37:19.194 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'user.name' to 'shnoulle'
13:37:19.197 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.class.path' to '/home/shnoulle/Développements/GIT/TEST/2048-android/gradle/wrapper/gradle-wrapper.jar'
13:37:19.199 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.vm.specification.version' to '1.8'
13:37:19.202 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'sun.arch.data.model' to '64'
13:37:19.204 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'sun.java.command' to 'org.gradle.wrapper.GradleWrapperMain --debug build'
13:37:19.207 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.home' to '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-9.b16.fc23.x86_64/jre'
13:37:19.209 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'user.language' to 'fr'
13:37:19.211 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.specification.vendor' to 'Oracle Corporation'
13:37:19.213 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'awt.toolkit' to 'sun.awt.X11.XToolkit'
13:37:19.216 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.vm.info' to 'mixed mode'
13:37:19.218 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.version' to '1.8.0_72'
13:37:19.220 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.ext.dirs' to '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-9.b16.fc23.x86_64/jre/lib/ext:/usr/java/packages/lib/ext'
13:37:19.222 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'sun.boot.class.path' to '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-9.b16.fc23.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-9.b16.fc23.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-9.b16.fc23.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-9.b16.fc23.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-9.b16.fc23.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-9.b16.fc23.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-9.b16.fc23.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-9.b16.fc23.x86_64/jre/classes'
13:37:19.224 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.vendor' to 'Oracle Corporation'
13:37:19.226 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'file.separator' to '/'
13:37:19.228 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'java.vendor.url.bug' to 'http://bugreport.sun.com/bugreport/'
13:37:19.234 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'sun.io.unicode.encoding' to 'UnicodeLittle'
13:37:19.237 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'sun.cpu.endian' to 'little'
13:37:19.239 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'sun.desktop' to 'gnome'
13:37:19.241 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 'sun.cpu.isalist' to ''
13:37:19.302 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver] Resolving configuration ':classpath'
13:37:19.409 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] Creating new in-memory cache for repo 'MavenRepo' [4471c3b2f5ea2d40ffaa8b3948cdbacd].
13:37:19.510 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Visiting configuration :2048-android:unspecified(classpath).
13:37:19.521 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Visiting dependency :2048-android:unspecified(classpath) -> com.android.tools.build:gradle:2.0.0-alpha3(classpath)
13:37:19.537 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Selecting new module version com.android.tools.build:gradle:2.0.0-alpha3
13:37:19.541 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver] Attempting to resolve component for com.android.tools.build:gradle:2.0.0-alpha3 using repositories [MavenRepo]
13:37:19.594 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache module-metadata.bin (/home/shnoulle/.gradle/caches/modules-2/metadata-2.16/module-metadata.bin)
13:37:19.635 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModuleComponentRepository] Detected non-existence of module 'com.android.tools.build:gradle:2.0.0-alpha3' in resolver cache 'MavenRepo'
13:37:19.659 [DEBUG] [org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver] Loading https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.pom
13:37:19.670 [DEBUG] [org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor] Constructing external resource: https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.pom
13:37:19.675 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache artifact-at-url.bin (/home/shnoulle/.gradle/caches/modules-2/metadata-2.16/artifact-at-url.bin)
13:37:19.692 [DEBUG] [org.gradle.internal.resource.transport.http.HttpResourceAccessor] Constructing external resource: https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.pom
13:37:19.703 [DEBUG] [org.gradle.internal.resource.transport.http.HttpClientHelper] Performing HTTP GET: https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.pom
13:37:20.249 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection request: [route: {s}->https://repo1.maven.org][total kept alive: 0; route allocated: 0 of 5; total allocated: 0 of 10]
13:37:20.306 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection leased: [id: 0][route: {s}->https://repo1.maven.org][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 10]
13:37:20.480 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnectionOperator] Connecting to repo1.maven.org:443
13:37:20.835 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] CookieSpec selected: best-match
13:37:20.884 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth cache not set in the context
13:37:20.886 [DEBUG] [org.apache.http.client.protocol.RequestTargetAuthentication] Target auth state: UNCHALLENGED
13:37:20.890 [DEBUG] [org.apache.http.client.protocol.RequestProxyAuthentication] Proxy auth state: UNCHALLENGED
13:37:20.893 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Attempt 1 to execute request
13:37:20.895 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Sending request: GET /maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.pom HTTP/1.1
13:37:20.940 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Receiving response: HTTP/1.1 404 Not Found
13:37:20.965 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Connection can be kept alive indefinitely
13:37:20.977 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection [id: 0][route: {s}->https://repo1.maven.org] can be kept alive indefinitely
13:37:20.979 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection released: [id: 0][route: {s}->https://repo1.maven.org][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 10]
13:37:20.981 [INFO] [org.gradle.internal.resource.transport.http.HttpClientHelper] Resource missing. [HTTP GET: https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.pom]
13:37:20.984 [DEBUG] [org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver] Loading https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.jar
13:37:20.986 [DEBUG] [org.gradle.internal.resource.transport.http.HttpResourceAccessor] Constructing external resource metadata: https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.jar
13:37:20.987 [DEBUG] [org.gradle.internal.resource.transport.http.HttpClientHelper] Performing HTTP HEAD: https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.jar
13:37:20.995 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection request: [route: {s}->https://repo1.maven.org][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 10]
13:37:20.997 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection leased: [id: 0][route: {s}->https://repo1.maven.org][total kept alive: 0; route allocated: 1 of 5; total allocated: 1 of 10]
13:37:21.004 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Stale connection check
13:37:21.011 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] CookieSpec selected: best-match
13:37:21.016 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth cache not set in the context
13:37:21.022 [DEBUG] [org.apache.http.client.protocol.RequestTargetAuthentication] Target auth state: UNCHALLENGED
13:37:21.027 [DEBUG] [org.apache.http.client.protocol.RequestProxyAuthentication] Proxy auth state: UNCHALLENGED
13:37:21.030 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Attempt 1 to execute request
13:37:21.033 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Sending request: HEAD /maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.jar HTTP/1.1
13:37:21.068 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Receiving response: HTTP/1.1 404 Not Found
13:37:21.070 [DEBUG] [org.apache.http.impl.client.SystemDefaultHttpClient] Connection can be kept alive indefinitely
13:37:21.072 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection [id: 0][route: {s}->https://repo1.maven.org] can be kept alive indefinitely
13:37:21.073 [DEBUG] [org.apache.http.impl.conn.PoolingClientConnectionManager] Connection released: [id: 0][route: {s}->https://repo1.maven.org][total kept alive: 1; route allocated: 1 of 5; total allocated: 1 of 10]
13:37:21.075 [INFO] [org.gradle.internal.resource.transport.http.HttpClientHelper] Resource missing. [HTTP HEAD: https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.jar]
13:37:21.077 [DEBUG] [org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver] No meta-data file or artifact found for module 'com.android.tools.build:gradle:2.0.0-alpha3' in repository 'MavenRepo'.
13:37:21.081 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.modulecache.DefaultModuleMetaDataCache] Recording absence of module descriptor in cache: com.android.tools.build:gradle:2.0.0-alpha3 [changing = false]
13:37:21.110 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.oldresult.TransientConfigurationResultsBuilder] Flushing resolved configuration data in Binary store in /tmp/gradle5603211777051205885.bin. Wrote root :2048-android:unspecified:classpath.
13:37:21.145 [DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 3.726 secs
13:37:21.189 [ERROR] [org.gradle.BuildExceptionReporter] 
13:37:21.194 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
13:37:21.198 [ERROR] [org.gradle.BuildExceptionReporter] 
13:37:21.200 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
13:37:21.202 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred configuring root project '2048-android'.
13:37:21.203 [ERROR] [org.gradle.BuildExceptionReporter] > Could not resolve all dependencies for configuration ':classpath'.
13:37:21.207 [ERROR] [org.gradle.BuildExceptionReporter]    > Could not find com.android.tools.build:gradle:2.0.0-alpha3.
13:37:21.208 [ERROR] [org.gradle.BuildExceptionReporter]      Searched in the following locations:
13:37:21.214 [ERROR] [org.gradle.BuildExceptionReporter]          https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.pom
13:37:21.215 [ERROR] [org.gradle.BuildExceptionReporter]          https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.jar
13:37:21.217 [ERROR] [org.gradle.BuildExceptionReporter]      Required by:
13:37:21.221 [ERROR] [org.gradle.BuildExceptionReporter]          :2048-android:unspecified
13:37:21.223 [ERROR] [org.gradle.BuildExceptionReporter] 
13:37:21.237 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
13:37:21.238 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. 
13:37:21.246 [LIFECYCLE] [org.gradle.BuildResultLogger] 
13:37:21.248 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
13:37:21.277 [LIFECYCLE] [org.gradle.BuildResultLogger] 
13:37:21.280 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 7.917 secs
13:37:21.291 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cp_proj class cache for build file '/home/shnoulle/Développements/GIT/TEST/2048-android/build.gradle' (/home/shnoulle/.gradle/caches/2.8/scripts/build_tlq1ch3f54tbt4ige49tepdw/cp_proj).
13:37:21.297 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolved configuration cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
13:37:21.298 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
13:37:21.301 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.004 secs
13:37:21.303 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 1, cache instances: 1, modules served from cache: 0, artifacts: 0
13:37:21.307 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-url.bin (/home/shnoulle/.gradle/caches/modules-2/metadata-2.16/artifact-at-url.bin)
13:37:21.310 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (/home/shnoulle/.gradle/caches/modules-2/metadata-2.16/module-metadata.bin)
13:37:21.311 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (/home/shnoulle/.gradle/caches/modules-2).
13:37:21.313 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (/home/shnoulle/.gradle/caches/2.8/plugin-resolution) was closed 0 times.

Broken with:

> Could not resolve all dependencies for configuration ':classpath'.
   > Could not find com.android.tools.build:gradle:2.0.0-alpha3.
     Searched in the following locations:
         https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.pom
         https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.0.0-alpha3/gradle-2.0.0-alpha3.jar
     Required by:
         :2048-android:unspecified

F-Droid install not working

I installed the app v2.1 from F-Droid and it's not working, I just get "The web page at file:///android_asset/2048/index.html?lang=en could not be loaded because:
net::ERR_FILE_NOT_FOUND"

I see others have reported this and the source fix is to do with git submodule, but that can't be right for the packaged app. Can it?

Problem about sound

I added some sound to the game by using “ var audio = new Audio("./sound/sound.wav"); audio.play(); ” in js file. It works well in html, but not in the android application. I can't hear any sound in both android phone and android simulator. Please tell me how to make it right. PS: I'm not good at android programming.

hole screen scrolls, not only the tiles

On my phone it's difficult to play because when swiping upwards it also scrolls the hole screen and I can't see the tiles anymore.
(btw, I'm using the f-droid version)

Tag new version

Can you tag a new version, so the screenshots make it to F-Droid?

Suspicion of copyright violation

Hi @uberspot

I found this app and also this one on Google Play Store. It seems that this apps are just the sames as your own app. This guys just took the source code, added some ads and put it on the Google Play Store...

As you are the owner of the source code, feel free to open a request to google here to remove each false app from the Store, if it's your wish ;)

Don't forget to tell Google that:

  • The app is licensed under MIT and this guy is violating it by distributing the app warning this is MIT licensed;
  • He is falsely claiming he made the app;
  • Also tell them that this guy has done the same thing already with other apps. Probably this is worth mentioning. (I watch him)

Android Project won't start in Eclipse

I am starting the android project in eclipse(kepler). I'm using android spi v2.3.3. I'm getting an error in the import section "The error import com.uberspot.a2048.R cannot be resolved".
2048

2048 level You Win mention

What's the use of this tab at all ???
Everybody wants to go further and pushing the wrong button resets the game again, grrrr.

index.html missing

Hey,

the index.html file appears to be missing form the assets/2048 directory.

error spanish?

Error message:

Página web no disponible

Es posible que la página web file:///android_asset/2048/index.html?lang=es no esté disponible temporalmente o que se haya trasladado permanentemente a una dirección web nueva.

Sugerencias:

Asegúrese de tener una conexión de datos
Vuelva a cargar esta página web más tarde
Verifique la dirección ingresada

Slow

Was thrilled when I found a free and open source version of this game, but it is just unplayable. It is incredibly laggy which boggles the mind as the graphics are rudimentary. My phone is a galaxy S6. Hope it can be improved.

Savegame?

Hello everybody,

I just updated my Android system and the actual score of the 2048 was dropped, i.e. the game starts at the beginning.
Does the game have some kind of a savegame functionality somewhere?

A display issue

Dear developer!
In the process of using, I found a bug in layout / display. As shown in the figure, in the first page, the text in the red box is half blocked. This may be an adaptation problem. I suspect it is because display and font size are set to large (mainly due to display size).
Because of some problems with my eyesight, I often use the largest font and display.
297165ECE247F4EDC808C49B7E0633F7
App version is 2.2, my mobile phone is Google nexus 6, screen resolution setting is 1920* 1080, font size and display size are the largest ! ! !, Android system is 8.0.
The above is a description of the problem. The overall experience of the software is good. You can see that the design is very attentive. Thank you very much for the efforts of the developers all the time. I hope to receive a reply.
Thank you!
bug-a2048_25

Webpage not availbale

when i try to see the app on my phone before i do any change, i get an error

"Webpage not available
The webpage at
file:///android_asset/2048/index.html?lang=en could not be loaded because:
net::ERR_FILE_NOT_FOUND

Better Scaling

Here is what 2048 looks like on my screen. I could live with this if at least the touch detection was fullscreen.

[Artworks]: use simplified and tidy logo.

The proprietary 2048's logo is Here

The logo is clean and tidy. The current logo of this project seems like a screenshot. A lot of element concentrate at such a small area. As a result, it is a little bit messy.

I strongly recommend to use original logo with different color (background color and digit color can both be different).

@uberspot , Do you agree with me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.