登录
首页 » Visual C++ » Horse-Stepping-on-board

Horse-Stepping-on-board

于 2012-05-08 发布 文件大小:1KB
0 290
下载积分: 1 下载次数: 5

代码说明:

  在传统中国象棋中,马走日型路线。本代码就是按其规则,让马从棋盘任一点开始,输出它可以行走的所有点的坐标。(In traditional Chinese chess, horse go day-type line. The code according to the rules, let the horse from checkerboard any point, the coordinates of all points of output it can walk.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • -the-poker-game
    本程序利用Card类数组模拟扑克牌,定义3个数组分别表示玩家手中的牌,电脑手中的牌和底牌,用srand((unsigned)time(NULL))产生随机数字,将底牌数组中随机的一项从底牌中移动到其他的数组中,模拟从洗好底牌中抓牌。表示出牌。 单人练习模式中,首先记下一个 1到13之间的随机数字,然后玩家抓牌,当手中的牌的点数恰与记下的随机数字相等,或用手中有的任意两张牌,通过加减乘除四则运算可以凑出该随机数字相等的点数,则停止抓牌并将这一张或两张出出去,随即记下一个新的随机数字,开始下一轮,直道手中的全部牌出完,游戏结束(This procedure using Card class array to simulate playing cards, the definition of the 3 arrays represent the game player cards, computer cards and cards, using srand ((unsigned) time (NULL)) to generate random numbers, random number in the array will be a move to the number of cards from other groups of cards, simulation from the wash hand in. Said. Single practice mode, first recorded random number between 1 to 13 next, and then the game player to draw cards, random number equal when the hand points exactly with the down, or in the hands of some arbitrary two cards, add, subtract, multiply and divide by four operations can make the random number equal points, then stop to draw a card and the card or two cards out, then write a new random number, start the next round, straight hands all the cards out, the end of the game)
    2013-08-19 15:13:48下载
    积分:1
  • llk
    VC++ 6.0开发的游戏大厅,采用C/S模式,里面包含一个连连看游戏。(VC++ 6.0 developers of the game hall, with C/S model, which includes a Lianliankan game.)
    2020-12-09 11:59:19下载
    积分:1
  • VCgamedesing
    VC编程游戏,这本电子书不是太难,书中罗列了几个经典的小游戏:五子棋,俄罗斯方块。。。。(use VC++ to design little games,it is not very complex,which can help the VC beginers )
    2009-06-13 14:33:59下载
    积分:1
  • QPWeb
    网狐原版网站后台,绝对完整!超值!!!!(code wh web aaaaaaa)
    2010-03-15 19:35:20下载
    积分:1
  • QQ
    说明:  个完全开源的交互聊天软件 ,仿QQ版增加了服务器互联的功能,增加了服务器互连的功能,同时去掉了服务器集群的功能 增加了群组的功能,包括聊天室和游戏大厅 ,增加了一个网络五子棋游戏,改正了在有些网络环境下,每5分钟左右自动掉线的问题.(Fully interactive open-source chat software, an increase of imitation QQ server version of the function of the Internet, an increase of the interconnection functions of the server at the same time removed the functions of server clusters increase the group s functions, including chat rooms and gaming hall, an increase of a network Gobang games, corrected in some network environment, every 5 minutes automatically dropped the issue.)
    2008-12-01 08:34:59下载
    积分:1
  • Backgammon
    五子连珠的VC源码,简单有趣 (Five or VC source, easy and fun )
    2013-07-20 17:54:18下载
    积分:1
  • win32wuziqi
    没有实现所功能 请大家多多指点 本来想实现网络对打,但水平有限(not achieve functional Please have a lot to the guidance of 2-network, but is limited)
    2006-05-18 17:16:02下载
    积分:1
  • gobang
    最近做了个小游戏五子棋,两人对战类,是用VC,EasyX做的,在网上只能找到EasyX做的贪吃蛇,俄罗斯方块,没有五子棋,自己做了一个。我学C高级期末成绩就是做这个,可以显示出两人的思考时间,可以不断开局,主要是源代码大家可以学习一下..希望与大家多交流。(Easyx我也放在压缩包里了,自己安装一下)(Recently made a small game backgammon, two arcade, with VC, EasyX do, do online can only find EasyX Snake, Tetris, there is no backgammon, he had made one. I learned C high end performance is to do this, thinking they can show the time, you can continue to start, mainly to the source code you can learn more about .. hope we can communicate. (Easyx I put compression bag, and he installed it))
    2011-07-12 12:16:42下载
    积分:1
  • wzq
    五子棋小程序,实现双人对抗,能完成悔棋,复盘,等基本功能。在玩棋时,能自动判禁手以及判赢。(Gobang small procedures, to achieve double confrontation, to complete悔棋, rehabilitation sites, such as basic features. Playing chess, they can automatically cut the hands and sub-contractors to win.)
    2008-06-26 21:47:09下载
    积分:1
  • 完整的四人网络麻将
    实现了一个完整的四人网络麻将游戏,该程序集服务器与客户端功能与一体。本章主要介绍了非对等的网络服务功能的建立,传输信息的序列化,建立虚拟的三维空间,绘制图形和显示位图,在内存中创建位图和绘制图形等。(achieve a complete network of four mahjong games, the procedures set server and client functions and integration. This chapter introduces the non-reciprocal network services established, the sequence of transmission of information, the establishment of a virtual three-dimensional space, drawing and display bitmap in memory to create bitmap graphics and mapping.)
    2005-06-20 16:32:22下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载