Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The Backtracking in OO

 
Andres John
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone knows a site where i can read about Backtracking using the 8 queen move, knight tour and other related thing in chess using the java algl. Or videos would be fine
 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you google it, you will find a lot examples of applets demonstrating these problems, usually with source code included so you can see what's going on. That way you would get your answer much faster.
 
Andres John
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I already did but i'm not using the applet, rather i'm output the moves by using numbers

something like this:

part of this program output the board and the other will do the move like the 8 queen moves
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic