Math Journal 22.11.2006
•
22 Nov 2006, 16:57
•
Journals
Hello, and welcome to math journal 22.11.2006.
I hope you have a very nice and cuddly visit to this journal and you understand the math in which it envelops.
Okay, so we have a "9-puzzle", yes you heard me, a "9-puzzle", stop pretending you don't know it and keep on reading bitch!
A "9-puzzle" is a game where you have 8 tiles and 1 empty and you try and organize it so you have the right picture or in this case the right numbers from 1-8.
The end result should be something like this
123
456
78
Okay, so now you know what a "9-puzzle" is, so we now go over how to fucking make sense of it mathematicly, we use an algorithm, yes an algorithm, click this shit to learn more about it ho!.
Ok, so you are given lets say a puzzle that starts with lets say
487
-12
365
What do you do now? The most important thing is to count up how many moves each number would need to be moved to reach its destination. For instance, the number 1 needs 2 moves, the number 3 needs 4 moves, and so on, ok so we count it all up for each number add it all up and reach the number 19. What does 19 tell us? It tells us that we need to do 19 moves in our puzzle to end up with:
123
456
78
So we now have to map a tree, from the root down, the number of ary's you get depends on where the void in your puzzle is , it can be from 2-4.
Ók, now the construction of the tree, you just continue every branch that has the right moves left, in the end you should reach the goal:
123
456
78
After 19 levels.
Ok, so im now stuck at level 9 with this puzzle.
487
-12
365
@ lvl 9 they say
4-2 - 425 - 472 - 472
175 - 17- - 15- - 156
386 - 386 - 386 - 3-8
I just get 4 branches and they all tell me that i got 11 levels to go, which doesn't make sense!
plz help ;'<
I hope you have a very nice and cuddly visit to this journal and you understand the math in which it envelops.
Okay, so we have a "9-puzzle", yes you heard me, a "9-puzzle", stop pretending you don't know it and keep on reading bitch!
A "9-puzzle" is a game where you have 8 tiles and 1 empty and you try and organize it so you have the right picture or in this case the right numbers from 1-8.
The end result should be something like this
123
456
78
Okay, so now you know what a "9-puzzle" is, so we now go over how to fucking make sense of it mathematicly, we use an algorithm, yes an algorithm, click this shit to learn more about it ho!.
Ok, so you are given lets say a puzzle that starts with lets say
487
-12
365
What do you do now? The most important thing is to count up how many moves each number would need to be moved to reach its destination. For instance, the number 1 needs 2 moves, the number 3 needs 4 moves, and so on, ok so we count it all up for each number add it all up and reach the number 19. What does 19 tell us? It tells us that we need to do 19 moves in our puzzle to end up with:
123
456
78
So we now have to map a tree, from the root down, the number of ary's you get depends on where the void in your puzzle is , it can be from 2-4.
Ók, now the construction of the tree, you just continue every branch that has the right moves left, in the end you should reach the goal:
123
456
78
After 19 levels.
Ok, so im now stuck at level 9 with this puzzle.
487
-12
365
@ lvl 9 they say
4-2 - 425 - 472 - 472
175 - 17- - 15- - 156
386 - 386 - 386 - 3-8
I just get 4 branches and they all tell me that i got 11 levels to go, which doesn't make sense!
plz help ;'<
but you count the sum off all the moves for each number and get the total it takes to reach the final goal of the puzzle
It only takes the number 1 one move to get back up to it's final position. So by my calculations there should only be 17 moves, not 19.
blame xfire and its shitty code here, there was meant to be a space in 12, fixed it to -12 =>
Theres one solution to an easier one, its nr 4 -.-
This pussle might be a bit to complex though for the Heuristics to work out =/
url
Lets think about this more simpler pussle
135
42-
786
Now the value of it is 5, and you can solve it in five steps =)
135
42-
786
13-
425
786
1-3
425
786
123
4-5
786
123
45-
786
123
426
78-
it could be that that pussle i was working out is just too damn complex for the heuristic to work with it ='<