Puzzle Game App Demo for Appiaries.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AppiariesSDK.framework
Puzzle.xcodeproj
Puzzle
.gitignore
LICENSE
Podfile
README.md

README.md

Puzzle Game App Demo for Appiaries (iOS)

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 "v.2.0.2" to "v.2.0.3".
  • [2015-06-29] Upgraded the Appiaries SDK vesion from "v.2.0.0" to "v.2.0.2".
  • [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 iOS 7.1 or higher.

License

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

Appiaries API Services Used

Appearance

Notice: the screenshots bellow are the ones from the Android version of this app.

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, Android version available on GitHub.
https://github.com/appiaries/sample-puzzle-android

Appiaries
http://www.appiaries.com/