Giter Site home page Giter Site logo

android-demo's Introduction

AndroidDemo

Simple tilt maze game with Amplitude 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 Amplitude integration contains these parts:

  • Add Amplitude SDK using Gradle and Maven in app/build-remote-dependency.gradle
  • Add Amplitude 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
  • Amplitude initialization in TiltMazesActivity.onCreate
  • Starting and ending sessions in TiltMazesActivity.onPause and TiltMazesActivity.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.

android-demo's People

Contributors

friederbluemle avatar djih avatar allanca avatar curtisliu avatar

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.