文件名称:Traversal-of-horse
介绍说明--下载内容均来自于网络,请自行研究使用
在中国象棋棋盘上,对任一位置上放置的一个马,均能选择一个合适的路线,使得该棋子能按象棋的规则不重复地走过棋盘上的每一个位置。
完成以下功能:
(1)依次输出所走过的各位置的坐标;
(2)最好能画出棋盘的图形形式,并在其上动态的标注行走过程;
(3)程序能方便地移植到其它规格的棋盘上。
-In Chinese chess board, the location of any place on a horse, able to select a suitable route, making the pieces do not follow the rules of chess board repeatedly through every position. Complete the following functions: (1) followed by the output through the coordinates of each location (2) better to draw the board' s graphic form, and in its walk on the dynamic process of labeling (3) program can be easily ported to Other specifications of the board.
完成以下功能:
(1)依次输出所走过的各位置的坐标;
(2)最好能画出棋盘的图形形式,并在其上动态的标注行走过程;
(3)程序能方便地移植到其它规格的棋盘上。
-In Chinese chess board, the location of any place on a horse, able to select a suitable route, making the pieces do not follow the rules of chess board repeatedly through every position. Complete the following functions: (1) followed by the output through the coordinates of each location (2) better to draw the board' s graphic form, and in its walk on the dynamic process of labeling (3) program can be easily ported to Other specifications of the board.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
马的遍历问题.cpp