hello, i need to do 15 puzzle algorithm in C as a part of my assignment.Can i please get help for this??
thanku,
lucy.
lucy1234 0 Newbie Poster
Recommended Answers
Jump to PostSure! Why not?
Here's the thing -- you have to contribute idea's and sometimes, code into this. I'm not going to just post up a program for you, and I hope you don't want to be a "code leech".
So, what does your instructor say to use for …
Jump to PostAdak,
such a generous welcome you've given arshad and aliakseis to our humble forum.
i know they've been waiting patiently for 3-1/2 years for someone like you to come along, address their needs, and see that they are comfortable.
my only concern is that you've been around …
Jump to PostLucy,
What Adak is suggesting is that rather than us telling you the bet way to do things you should research the algorithm, see what searches are a possibility then decide whether you want to be CPU intensive or stack hungry.
You make some descisions about it, try …
Jump to PostIt's called a breadth-first search.
From your starting position (which is the first entry in the solution array), generate and test every possible move in the next free array locations. Keep track of the parent (array[0]).
Move to the next position (array[1]) and generate all moves from that position. Keep …
Jump to PostHere is one puzzle for you.
write a program to put too many knots in a thin thread and then write another program to untie all the knots from the thread.
All 17 Replies
Adak 419 Nearly a Posting Virtuoso
jephthah 1,888 Posting Maven
WaltP commented: Stop being an ahole. ADAK was responding to Lucy who resurrected the thread. Maybe you should stick to posting aid rather than your rude opinions. -2
Adak 419 Nearly a Posting Virtuoso
lucy1234 0 Newbie Poster
Freaky_Chris 299 Master Poster
Adak 419 Nearly a Posting Virtuoso
0x69 41 Junior Poster
0x69 41 Junior Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Imran Javed 0 Newbie Poster
Adak 419 Nearly a Posting Virtuoso
Adak 419 Nearly a Posting Virtuoso
ithelp 757 Posting Virtuoso Banned
Imran Javed 0 Newbie Poster
Adak 419 Nearly a Posting Virtuoso
froward 0 Newbie Poster
Adak 419 Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.