0

I want to collect statistics from an RPG game. This data should be stored in one place, online, so I can analyse it later.

Example of events -

  1. Player achieved something
  2. Player win the game using this way

So the question is : what is the best way, with minimum effort, to implement this functionality ?

I understand that I will have anyway to implement message sending functionality on the game's side.

I know that this can be implemented using Amazon SQS, but this doesn't seem to be the easiest way.

Idealy - it should be like that : I just send data from game, in form of messages. After that - I can retrieve the data from cloud storage and parse/analyze it.

P.S. I don't want a server at home

4

2 回答 2

1

如果您不想使用现有服务,您可以构建一个简单的 web 应用程序并通过 REST url 接收事件。

例子:

http://my.statistics.server/achieve?player=123&category=456&level=789
http://my.statistics.server/win?player=123&score=12345

如果您想让伪造变得更加困难,您还可以将事件打包并附加一个键控哈希。

例子:

http://my.statistics.server/record?packet=<base64 data..., plus HMAC>

看:

于 2013-08-03T09:24:09.327 回答
1

取决于您要编写游戏的平台,但我使用了 Flurry Analitica,它适用于我的手机游戏,例如 Flurry Analitics

于 2013-08-03T09:08:16.210 回答