| | |
sliding numbers project AI
![]() |
we have a project in our class to design a sliding numbers game similar to this one:
http://www.eatmygames.com/gameinfo.asp?id=24puzzle
the only difference is that the number of blank spaces is user input (max=n/2 where n: no of elements in a row/column).
we have to design an algorithm to make the computer solve the puzzle on its own.
can we get some ideas for the AI part? we're totally stumped!
PS: I know this counts as homework, but I just need a hint for the algorithm. we can take it from there onwards.
http://www.eatmygames.com/gameinfo.asp?id=24puzzle
the only difference is that the number of blank spaces is user input (max=n/2 where n: no of elements in a row/column).
we have to design an algorithm to make the computer solve the puzzle on its own.
can we get some ideas for the AI part? we're totally stumped!
PS: I know this counts as homework, but I just need a hint for the algorithm. we can take it from there onwards.
These three links make for interesting reading...
http://www.gameboomers.com/wtcheats/pcSs/safecrac.htm
http://www.mathematische-basteleien.de/15puzzle.htm
http://www.cs.princeton.edu/courses/...s/8puzzle.html
The fact that you have slightly more blank spaces, than the original game ( which has only one blank space) should make life slightly easier.
http://www.gameboomers.com/wtcheats/pcSs/safecrac.htm
http://www.mathematische-basteleien.de/15puzzle.htm
http://www.cs.princeton.edu/courses/...s/8puzzle.html
The fact that you have slightly more blank spaces, than the original game ( which has only one blank space) should make life slightly easier.
*Voted best profile in the world*
![]() |
Similar Threads
- Final Year Project (Computer Science)
- Trouble writing code for arithmetic calculations of complex numbers (C++)
- Help With My Fy Project (C++)
- High School student need help for C++ on final project (C++)
- Using a class to add/delete/show numbers in a Link List (C++)
- Adding decimal numbers together? (C)
- School Project (C++)
Other Threads in the C Forum
- Previous Thread: seg fault when accessing the array
- Next Thread: calendar how mny days
| Thread Tools | Search this Thread |
#include adobe api array arrays asterisks binarysearch calculate char cm copyanyfile copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax database directory dynamic feet fflush fgets file fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o include incrementoperators input interest kernel kilometer linked linkedlist linux linuxsegmentationfault list lists locate logical_drives loopinsideloop. match matrix meter microsoft motherboard mqqueue mysql number odf open opensource owf pattern pdf performance pointer posix probleminc process program programming pyramidusingturboccodes radix read recursion recv repetition research scanf scheduling scripting segmentationfault send sequential shape socket socketprograming stack standard string systemcall turboc unix user voidmain() wab win32api windows.h






