var module_rule = module_rule || {}; //---------------------------------- //牌规则定义 //---------------------------------- //需要添加到牌类中的属性值和默认值 module_rule.card_prototype = { link:[0,0], link510K:[0,0], }; //牌型定义(从A到大王,即:A,2,3,4,5,6,7,8,9,10,J,Q,K,小王,大王)若无此属性填0 //[type,level] module_rule.card_type = { link:[[3,12],[1,22],[3,1],[3,2],[3,3],[3,4],[3,5],[3,6],[3,7],[3,8],[3,9],[3,10],[3,11],[2,24],[2,25]], link510K:[[0,0],[0,0],[0,0],[0,0],[1,1],[0,0],[0,0],[0,0],[0,0],[1,2],[0,0],[0,0],[1,3],[0,0],[0,0]], }; //实际牌大小 module_rule.card_order = { order:[14,16,3,4,5,6,7,8,9,10,11,12,13,53,54], }; //牌型定义addition module_rule.card_addition = { //此属性的连牌是否可以带 type_0:[0], type_1:[0], type_2:[0], type_3:[1], addtion:[[3,2]],//[牌张数,可以带的牌数] }; //牌比较规则 module_rule.card_compare = { };