• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

<off-topic> puzzle solver - chess knights

Status
Not open for further replies.
Level 5
Joined
Sep 22, 2012
Messages
90
has anyone ever created a program that solves a set of n-x-n tiles using a knight such that its next move won't come across the traversed tiles??

i know there's something magical when you put them on a 3 x 3 layout, the knight would just rotate its position from tile to tile and it will never reach the center.

x x x
x x x
x x x

if all moves fail then abort the process??

tnx in advance
 
Last edited by a moderator:
Level 5
Joined
Sep 22, 2012
Messages
90
do you have a demo?
how does your program work?
do i need to place the knight on the tile i want then start the process?

i saw someone who placed stones on his traversed
path on a 4 x 8 board placing his knight on the low-right
corner(X):

o o o o o o o o
o o o o o o o o
o o o o o o o x
o o o o o o o o
 
Status
Not open for further replies.
Top