Click here to Skip to main content
15,906,567 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
hi i want to implement the 8 puzzle with hill-climing algorithm by c++or c# but i don know how should i start please help me my firends.
regards
Posted

1 solution

Start by familiarizing yourself well with the problem and getting a handle on the logic. If you can't explain it with language, you'll have a hard time explaining it to the compiler.

http://www.8puzzle.com/8_puzzle_algorithm.htm[^]

That should get you started. If you have trouble with a specific piece of code, post a sample of what you're working through and we'll do our best.

Cheers.
 
Share this answer
 
v2
Comments
Dell.Simmons 17-Nov-10 20:39pm    
link doesn't work. Needs 'l' on the end. ...algorithm.html
TheyCallMeMrJames 17-Nov-10 20:44pm    
thanks DS. cheers.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900