Simple tilt maze game with Rakam integration
A ball sits in a flat tray containing one or more squares (goals). The challenge is to guide the ball around the tray and collect all the squares. Tilt the phone or swipe the ball to start the ball rolling. The ball rolls in a straight line until it hits a wall, you can then tilt again.
The Rakam integration contains these parts:
- Add Rakam SDK using Gradle and Maven in
app/build-remote-dependency.gradle
- Add Rakam SDK with local jar in
app/build-local-dependency.gradle
- Add Google Play Services for accessing Advertising IDs in
app/build-remote-dependency.gradle
- Proguard settings in
app/proguard-rules.pro
- Rakam initialization in
TiltMazesActivity.onCreate
- Starting and ending sessions in
TiltMazesActivity.onPause
andTiltMazesActivity.onResume
- Setting user properties and logging events with properties in
GameEngine.mHandler
Thanks to Balazs Lecz for creating the original game. See https://github.com/masayukig/tiltmazes for the original source and more information.
This library is a fork of Amplitude-Android-Demo and adopted for Rakam SDK