🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #5821

Re: The Knight's Tour

#5821
From: Urban Koistinen
Date: Sat, 08 Feb 1992 22:40
20 lines
1812 bytes
In article <1992Feb7.201342.4702@ctp.com> mvarg@ctp.com (Michael Vargo) writes:
:I'm looking for the algorithm for the "Knights Tour." It is an algorithm to
:>make a knight move around the chess board and hit every square exactly once.
:>I am looking for an optimized version, not a brute force method that I would have to run all night...Thanks...
:
I did this once using paper and a pencil.
If you don't need to get back to square one it is easy.
Keep track of all visited squares and remove them as you go.
Then jump to the least connected square.

:----------------------------------------------------------------
:I Michael Vargo                  II  Internet: mvarg@ctp.com   I 
:I Cambridge Technology Partners  II                            I
:I 617-349-1231                   II                            I
:----------------------------------------------------------------
:I "If you choose not to decide, you still have made a choice"  I
:I                                        - Freewill            I
:----------------------------------------------------------------

Urban Koistinen - md85-epi@nada.kth.se
Technical Details
Message-ID: <1992Feb8.224030.10759@kth.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!sunic!kth.se!md85-epi

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,df05c049f137db20
X-Google-Attributes: gid10d71d,public
X-Google-Thread: f936d,df05c049f137db20
X-Google-Attributes: gidf936d,public
X-Google-ArrivalTime: 1992-02-08 21:09:21 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!sunic!kth.se!md85-epi
From: md85-epi@dront.nada.kth.se (Urban Koistinen)
Newsgroups: gnu.chess,rec.games.chess
Subject: Re: The Knight's Tour
Message-ID: <1992Feb8.224030.10759@kth.se>
Date: 8 Feb 92 22:40:30 GMT
Sender: usenet@kth.se (Usenet)
Distribution: gnu
Organization: Royal Institute of Technology, Stockholm, Sweden
Lines: 20
Nntp-Posting-Host: dront.nada.kth.se