No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
gradle/wrapper
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Not Always 42

Not Always 42 is a puzzle game where you must guess a number between 1 and 5. You can play alone or against other players. The game was created as a demo for my Google Play Game Services talk on Google DevFest Karlsruhe 2014. It currently supports Achievements, Leaderboards, Saved Games, Events/Quests and Turn-based Multiplayer. The app can also be found on the Google Play Store.

Build

The projects can be build with the integrated Gradle wrapper. To set up this application a new project must be created in the Google Play Developer console. Don't forget to create the Achievements, Leaderboards and Events. Then replace the values ​​in the gpgs.xml with the new values. See this Documentation for detailed configuration information.

Signing

To sign your Android app with gradle use the property NotAlways42.signing and external config files for the keystore informations. Tim Roes wrote a very informative blog post about handling signing configs from which the example below was derived.

Note that property NotAlways42.signing has to point to the folder of your keystores and not to the filename of the keystore file!

android {
  signingConfigs {
    release {
      storeFile file(project.property("NotAlways42.signing") + "/release.keystore")
      storePassword "KEYSTORE_PASSWORD"
      keyAlias "KEY_ALIAS_RELEASE"
      keyPassword "KEY_PASSWORD"
    }

    debug {
      storeFile file(project.property("NotAlways42.signing") + "/debug.keystore")
      storePassword "android"
      keyAlias "androiddebugkey"
      keyPassword "android"
    }
  }
 
  buildTypes {
    release {
      signingConfig signingConfigs.release
    }

	debug {
      signingConfig signingConfigs.debug
    }
  }
}

License

Not Always42 is licensed under the Apache 2 License.