Closed GoogleCodeExporter closed 9 years ago
在Game中添加一个abstract方法,专门用于玩家掉线业务处理
Original comment by rcom10002
on 18 Aug 2009 at 3:58
积分修正
在红五和斗地主中,玩家得分 = 底分 × 倍数,resultScore =
gameMark * (Low|Mid|High)LevelMark
也就是说,红五的不独、独牌、天独、天外天的计算方式分��
�为
gameMark, gameMark * lowLevelMark, gameMark * midLevelMark, gameMark *
highLevelMark
斗地主的1分、2分、3分标签,你给改成青龙、白虎、朱雀字��
�,计算时采用“底分 × 等级”,这样灵活性好
比如底分10,青龙、白虎、朱雀分别为2、4、8,那么结果就为
20、40、80
比如底分10,青龙、白虎、朱雀分别为1、2、3,那么结果就为
10、20、30
Original comment by rcom10002
on 21 Aug 2009 at 3:23
[deleted comment]
原来的代码不用怎么变,就是在计算积分的时候,把GameSetting
拿出来,判断当前游戏设置是什么级别的
补充说明:
比如底分10,青龙、白虎、朱雀分别为2、4、8,那么结果就为
20、40、80,如果设置为白虎且地主赢
地 主:80
老农甲:-40
老农乙:-40
比如底分15,青龙、白虎、朱雀分别为1、2、3,那么结果就为
15、30、45如果设置为朱雀且地主输
地 主:-90
老农甲:45
老农乙:45
Original comment by rcom10002
on 21 Aug 2009 at 3:29
红五的掉线积分算法,但还没测,仿照红五把斗地主掉线积��
�算法完善一下
并在PersistScoreTestCase写连个测试用例,把红五和斗地主的掉线
积分计算测试完
您受累!
Original comment by rcom10002
on 21 Aug 2009 at 3:35
红五掉线积分测试:PersistDisconnectScoreTestCase,你把斗地主的��
�线积分测试放在这个地方吧
以后其它游戏的掉线积分计算功能都由你来完成
Original comment by rcom10002
on 24 Aug 2009 at 8:40
Original comment by songjie8...@gmail.com
on 25 Aug 2009 at 7:19
前台玩家信息中,积分统计有点问题
如果当前玩家观看录像,他自己是不得分的,并且系统得分��
�加上一列备注,如果是看录像造成的,提示用户为什么产生
系统积分而自己没有的分
Original comment by rcom10002
on 14 May 2010 at 12:16
已加上一列备注
Original comment by songjie8...@gmail.com
on 18 May 2010 at 1:35
Original issue reported on code.google.com by
rcom10002
on 30 Jul 2009 at 7:57