· Junit3 / Junit4 source attachment on Eclipse for Java developer (non-EE version)
· Note on Ubuntu 11.4 or Linux in general
· Linux + Android SDK note (OK on Ubuntu 11.4 + Sun JDK1.6)
· SOLID : Single-Responsibility Open/Closed Principle, Liskov substitution principle
· Xcode改成不用MainWindow.xib 和 RootViewController.xib 的方法
· log4j + resin for dummy 简易结合log4j和resin
2011-9-17 17:10:44 阅读26 评论0 172011/09 Sept17
2011-7-11 13:09:10 阅读29 评论0 112011/07 July11
2011-7-1 18:12:57 阅读95 评论1 12011/07 July1
2011-2-11 9:56:51 阅读79 评论0 112011/02 Feb11
2011-2-5 22:29:20 阅读58 评论0 52011/02 Feb5
2011-2-3 15:11:36 阅读845 评论0 32011/02 Feb3
2011-1-22 23:32:34 阅读74 评论0 222011/01 Jan22
2011-1-17 22:25:48 阅读46 评论0 172011/01 Jan17
-----问题定义-----
假设现在有两个坐标, 以(x1, y1) 和 (x2, y2) 分别代表坐标1和坐标2.
定义坐标1指向坐标2的方向(direction): 上UP, 右RIGHT, 下DOWN, 左LEFT 分别为常数 0, 1, 2, 3
上的定义为 y2-y1=1 x2-x1=0
下的定义为 y2-y1=-1 x2-x1=0
左的定义为 y2-y1=0 x2-x1=-1
右的定义为 y2-y1=0 x2-x1=1
此方向正好是套用Cartesian coordinate system (y 向上越大, x向右越大)
2010-12-16 12:15:53 阅读84 评论0 162010/12 Dec16
original 原文: http://gamerboom.com/archives/11793
Tony Ventrice:以休闲的理念架构和设计社交游戏(长篇)
Examines the difference between hardcore and casual play mechanics -- and dispels commonly-held myths about which are which
note: 建议看多一次英文版, 有些轻微的翻译错误导致意思不完整, 例如:
2. Overwhelming options -> 2. 无法抗拒的设置
应该翻译为 "过多的设置"