搜索资源列表
doudizhu
- 斗地主源代码,绝对能通过的源码,有可执行文件 根据斗地主出牌规则.对玩家出的牌进行检验.判断是否符合出牌规则. (关于斗地主的出牌规则网上有很多) 思路:将玩家的牌按升序排序.然后将牌进行拆分,分存在4个数组中.拆分规则如下: 假设有牌:333\444\555\789 则拆分后数组中的数据如下 arr[0]:345789 arr[1]:345 arr[2]:345 arr[3]:null 可以看出拆分规则是:如果遇到相同数字的牌则存
ReadArray
- 从磁盘读取文件中(map.txt)的二维数组并动态创建二维数组保存显示。用以游戏的贴片贴图等地方。vs2005调试运行成功。-From the disk to read the file (the map.txt) two-dimensional array and dynamically creates two-dimensional array to save the show. Patch maps and other places for the game. vs2005 debuggi