Voice Fighter for Android is Open Source! Check it out on github !
dennisRitchie Good Bye
Attention Trainer Web Edtion
Introduction:
Do you feel hard to focus? This app can help you train to focus, give you attention fitness. Make the plan and follow the training cycle, you can find it’s easy to focus! The training cycle is two phases the “attention time” and “break time”. In “attention time”, you need to focus on your work, in the break time you just take a few minutes to breaks. Through some training you will get a longer attention span.
Usage:
This is just 3 steps to train your attention.
1.Make the plan, set the attention time and break time, start with 12 minutes as attention time and 2 minutes as break time are recommended.
2.In the training cycle, when the “Start” button is pressed, the training cycle begins, training cycle has 2 phases. The first phase is “attention time”. In “attention time”, you need to focus on your work, when the timer goes off you will get a notification. Training will enter the “break time” the second phase, in this phase you just take a few minutes break (depend on your plan, 2 minutes is recommended for all situation). When the second phase end, the training is back to first phase, you need to focus on your work again… the training cycle won’t stop until “cancel” button is pressed.
3.Through some training if you feel you can focus longer, you would change your plan, increase the “attention time” (increase 2 minutes in each time is recommended).
注意力教练-网页版
简介
你感觉很难集中注意力吗?这个应用能够帮助你训练你的注意力,使你更容易集中注意力。你只需要在程序里面制定你的训练计划,然后根据提示执行的你计划,你会发现很容易就能够锻炼你的专注力。只需要用这个方法坚持练习一段时间,你就能够得到更长的集中注意力的时间。这是一个简单又有效的软件,为什么不试一下呢? :)
如何相对安全的保存iPhone游戏的分数
介绍一种保存游戏分数(高分)的方法,里面提供了相关的代码。这个方法可以相对安全的保存你的游戏分数,因为现在几乎所有移动平台的游戏都使用了OpenFeint,Game Center一类的社交游戏网络,其中使用最多的功能就是在线排行榜。我在我的两个iPhone游戏(Voice Fighter, Magic Tiles)中均使用了这个方法保存游戏的最高分数,防止游戏最高分数被越狱的用户通过修改游戏文件来作弊。但这个方法防不了那些通过截取网络数据包来改分数的手段。因为整个方法的核心就是加密分数然后保存在本地。
代码部分出自:Cocos2d论坛
方法的过程是:
1.需要保存游戏分数时,有游戏分数H,把H的数据类型转换成字符串:S,在S后加上字符串M作为混淆字符串,现在就得到字符串X(X=S+M).
2.用MD5或者其他加密算法加密字符串X,得到一串密文,把这串密文和H保存在本地文件中.
3.用户程序需要获取H时(比如游戏启动时需要在界面中显示最高分),读取保存密文和H的文件,这样就可以获得H和加密后的密文,现在就对密文进行解密,得到一个数字,用这个数字和H进行对比,如果得到的数字不等于H就证明用户修改过分数,可以选择清零数据;结果相等则通过检查。

