blstream/UrbanGame — pull request #81 by mkaim (2013-06-05 09:08:10+00:00)
Title: URBNG-35 Initial version of WebAPI: handling database

From now on all values are readed from database using play-slick plugin.
WebApi works on database/webapi.h2.db but it easy to change database.

Changes:
* values are readed from database
* webapi database has implemented 'geodistance' function that count distance
in kilometers between two lat/lon positions using Haversine formula
* all use cases of 'register', 'leave game' and 'join game' are examined,
like registering new user with existing login, joining game more than once
etc...
* added some simple tests