搜索资源列表
src
- Notice: This very old code, made when I first learned to program. However, it still works for all current DMaps. This program reads a DMap file (From Conquer Online) and stores it into a 2d boolean array as coords[x][y]. The DMap class then prov
snaker
- 提供linux下的终端型贪吃蛇游戏代码和在51单片机上的贪吃蛇代码(都经过测试) 文档中的snake51.c为在51单片机上的贪吃蛇代码,此代码经过测试运行。 文档中的snake_curses.c为在linux系统中基于ncurses库编写的贪吃蛇代码,也经过测试运行。编译时用命令 gcc snake_curses.c -o snake -lcurses 即可生成可执行文件snake,可在linux下的终端运行 文档中的prints为在单片机的8x8led阵列上现实蛇身体点的函数
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
hungmanguessword
- 英文单词猜谜游戏,有次数限制,可以反复游戏,为数据结构一个设计作业-Write a program that plays the game of HANGMAN(guessing a mystery word). Read a word to be guessed from a file into successive elements of the array WORD. The player must guess the letters belonging to WORD. A singl
project5
- 英文单词猜谜游戏,有次数限制,可以反复游戏,为数据结构一个设计作业-Write a program that plays the game of HANGMAN(guessing a mystery word). Read a word to be guessed from a file into successive elements of the array WORD. The player must guess the letters belonging to WORD. A singl
anjian_read_file
- 按键精灵读取TXT文件,按行打散到数组。并遍历数组实例。-anjian read txt file to array.