Skip to content

NirHaim/sample-puzzle-android

 
 

Repository files navigation

Puzzle Game App Demo for Appiaries (Android)

About This App

This is a Puzzle App demo for Appiaries.
Users register with their email address, and login with Login ID and Password.
There are several stages for this game.
Every time users clear the stage, in accord with the time took, names will appear on ranking lists.
There are "Time Ranking" list and "First-Come Ranking" list.
In order to keep track of orders for "First-Come",
we will be using "Sequence API" provided by Appiaries.

Updates

  • [2015-07-17] Upgraded the Appiaries SDK vesion from "Appiaries SDK v.2.0.0" to "Appiaries SDK v.2.0.4".
  • [2015-06-23] Upgraded the Appiaries SDK vesion from "Appiaries SDK v.1.4.0" to "Appiaries SDK v.2.0.0".

Requirements

It does not require you an Appiaries account if you just want to build and run the app.
Although it requires server-side data stored on Appiaries,
it is already configured as default to retrieve the ones from our demo account.
If you intend to customize the server-side data, you need a sign-up.
Runs on Android 4.3 or higher.

License

You may freely use, modify, or distribute the source codes provided.

Appiaries API Services Used

Appearance

Login
Register
Introduction
Home
Play
Sample
Result
Time Ranking
First-Come Ranking

Server-Side Collections Used

Entity System Name Type Description Note
Introduction Introductions JSON Collection Service description texts shown to users after registration. Each object stands for 1 page.
App Users (App User) No collections to be created but App User feature to be used. Stores App User information using this Puzzle App. In each App User data, also holds attribute data "nickname".
Stages Stages JSON Collection Stores settings for all stages.
Images Images File Collection Puzzle image files (the whole image is to be stored instead of divided pieces)
Time Ranking TimeRanking JSON Collection A type of ranking for the time it took for a user to clear each stage. Shorter the time record, higher on the ranking list.
First-Come Ranking FirstComeRanking JSON Collection Faster the user clears the given stage, ranked higher on the record. * Sequence API to be used.
First-Come Ranking Sequence FirstComeRankingSeq Sequence Collection Issues a sequence value for each user. Reset when calculated.

If you change the server setting on how you want to split the puzzle image, it displays the game accordingly.
(on corresponding objects in "Stages" collection)

number_of_horizontal_pieces: 2
number_of_vertical_pieces: 2
number_of_horizontal_pieces: 3
number_of_vertical_pieces: 3
number_of_horizontal_pieces: 4
number_of_vertical_pieces: 4
number_of_horizontal_pieces: 5
number_of_vertical_pieces: 5

Reference

For further details, refer to the official documents on Appiaries.

in English
http://docs.appiaries.com/?p=14848&lang=en

in Japanese
http://docs.appiaries.com/?p=14735

Also, iOS version available on GitHub.
https://github.com/appiaries/sample-puzzle-ios

Appiaries
http://www.appiaries.com/

About

Puzzle Game App Demo for Appiaries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%