File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The Backtracking in OO

 
Andres John
Ranch Hand
Posts: 34
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic