Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
BFS do with php
no vote
In this algorithm we use the language php to interpreter the puzzle 8,  8 puzzle is one of the classic problems that is used to test intelligence.  Here is how classic 8 puzzle problem looks like  In a 3X3 box all the boxes are filled with numbers from 1 to 8, except one box  The blank can be moved to left, right, top and down. In the initial state the numbers are unordered, in the final state the numbers are ordered. Our goal is to find out the sequence of moving blank states such that final goal is reached.  In this problem we tried to solve it by breadth first search. We used the special Que available in PHP to store states of puzzl
Matheuss60
2016-08-23
0
1
No more~