Skip to content

Tag: knights-tour

Knight’s Tour random move picker not working

I am working on randomizing which move my knight takes in my knight’s tour code. For some reason though, my switch statement always goes to default, instead of executing a possible move. I know my possible moves methods work because I have separately ran firstMoveChoice() on it’s own and it worked…

Java Knight’s Tour Homework [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn’t work, and the expected results. See also: Stack Overflow ques…