A Chinese Knight's Tour

 Author: Frederick Wu           
 Date: 2010-08-15
 
 
Knight's tour is a classic problem in computer science, the target is to find a sequence  of path
by a knight chess piece, which moves on chess broad with 8×8 square grid,  such that each
node of the board is visited exactly once.
 
This Demonstrations explores the knight's tour problem on the Chinese chess broad (also
called Xiangqi) with 9×10 rectangle grid. The chess piece of knight is named horse or "Ma",
correspondingly.
 
  
                    fig 1. intial position of horse                    fig 2. run a knight(horse) tour
"Thus tomorrow, as I have said, will be accomplished what I so much desire,
enabling me lawfully to roam through all the four quarters of the world seeking
adventures on behalf of those in distress, as is the duty of chivalry of knights-
errant like myself, whose ambition is directed to such deeds."
--- Don Quixote, Chapter 3, Miguel de Cervates, 1615, Translated by John Ormsby.
                              
                                             fig 3. accomplish the knight(horse) tour
Download:
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值