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

Horse-Stepping-on-board

于 2012-05-08 发布 文件大小:1KB
0 109
下载积分: 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
  • FiveChess
    一个自己写的五子棋程序。包括人机和双人对战。(Renju program. Including the man-machine and two against.)
    2012-02-28 12:39:34下载
    积分:1
  • SixChess
    六子棋人机对弈程序,本人机器人博弈参赛程序,获冠军。(Sixchess p to computer)
    2020-10-23 23:17:21下载
    积分:1
  • 20dianyouxi
    20点小游戏,学会它可以让你在朋友前炫耀一下。(this case is a 20-point game, learn which will allow you to show off at a friend s before)
    2012-02-17 22:19:38下载
    积分:1
  • Russia1.2
    俄罗斯方块,加了图片! 一样的俄罗斯方块, 不一样的感觉(Russian box, add the pictures! Like the Russian box, and not the same feeling)
    2007-03-07 16:57:08下载
    积分:1
  • fivesource
    五子棋源码 (Gobang game source)
    2020-06-26 12:40:01下载
    积分:1
  • chess
    局域网内的五子棋游戏,WIN32编程,可以很好的学习windows消息机制(Backgammon games, WIN32 programming LAN can be a good learning windows message mechanism)
    2015-06-24 15:52:06下载
    积分:1
  • QPWeb
    网狐原版网站后台,绝对完整!超值!!!!(code wh web aaaaaaa)
    2010-03-15 19:35:20下载
    积分:1
  • wuziqiyouxi
    五子棋游戏,实现人工智能。单机游戏和多机游戏实现过程。(Backgammon games, achieve artificial intelligence. Single and multi-game machine game implementation process.)
    2013-12-09 19:04:44下载
    积分:1
  • TicTacToe_dzy
    一个简单的井字过三关游戏,用qt实现...人机对弈AI(TipTacToe Game implementation)
    2011-11-21 13:32:20下载
    积分:1
  • 696522资源总数
  • 104040会员总数
  • 35今日下载