搜索资源列表
魔板游戏源程序qinlei
- 智力拼图,又称魔板游戏,4*4的方格组成,15个字母,一个空格,要求玩家移动方格把字母排成字母表顺序,上下左右和回车控制。-intellectual puzzles, board games also known as the devil, 4 * 4 components in the box, 15 letters, a box requiring mobile box put players line up in alphabetical order of the alphabet, fr
123
- 程序功能和实现:玩家和电脑对战,先生成一个包扩所有牌的单链表。洗牌后按顺序发牌,玩家和电脑各一张,比较玩家和电脑手中的牌的大小玩家可在平局区或大小区下注,平局赔率为10,大小区为赔率1记录局数和玩家每盘后的点数。-Program features and implementation: the player and play against the computer, sir, all the cards into a single package extended list. After sh
youxi
- 猴子游戏代码,用链表来得出大王的序号,用顺序表来得出大王的序,-Monkey game code, to come to the king with the serial number list, using the order form to come to the king' s order,
heibaiqi
- 五子棋是一种受大众广泛喜爱的游戏,这里介绍五子棋程序的数据结构、评分规则、胜负判断方法,重点分析了搜索算法,并在传统的博弈算法在五子棋应用中进行一些改进,从而使剪枝更有效,运算性能更好。改进包括:不使用closed表;改变棋盘搜索顺序;增加记录最大棋盘信息的指针。实验证明,这几点改进对提高效率有很高帮助。 -Backgammon is one of the general public loved the game, and here the data structure of the 33
Joseph
- 约瑟夫(Joseph)编号为1,2,…,n的n个人按顺时针方向围坐一圈, 每人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序。 [基本要求] 利用单向循环链表存储结构模拟此过程,按照出列的顺序印出各人的编号。 -Joseph (Joseph) No. 1
Desktop
- 一、实验目的 1、掌握线性表中元素的前驱、后续的概念。 2、掌握顺序表与链表的建立、插入元素、删除表中某元素的算法。 3、对线性表相应算法的时间复杂度进行分析。 4、理解顺序表、链表数据结构的特点(优缺点)。 二、实验预习 说明以下概念 1、线性表: 2、顺序表: 3、链表: -One, the purpose of the experiment 1, grasp the concept of precursor, the elem