How PHP helped me solve the Rubik’s cube
I was set a challenge last week to complete a Rubik’s cube after tinkering with one by a colleagues desk and managing to get a complete line of matching colours with little effort. In the past i’ve never fully understood the concept and complexity of how to complete this popular 80′s puzzle. However the same way as a programmer I work out the right way to complete a coding issue by using a set of pointers and algorithms, the same is applies to completing the Rubik’s cube. There are a set of specific moves or algorithms that have to be repeated in come cases in order to get certain pieces in the correct place, the same logic of which can be applied to PHP, and indeed most programming languages, it’s this programming logic that allowed me to complete the Rubik’s cube. Although don’t ask me to do it again! In the end it actually took me about an hour to complete but this was after re-doing the first two rows many times so many I can’t count. So if you want any tips to solving the puzzle let me know fairly quickly as I will probably forget before too long.



From the title I thought the guy went out of control & wrote a PHP code to help solving it
I didn’t had a lot of time with Rubik cube, but when I tried it lately my mind just went off!
So yeah if you have some tips I might try again.
@Developar ha ha that would be awesome i might give it a go
You should certainly give it a go.
Hehe it would be a nice idea but anyway I don’t have any clue about the methods used to solve it, but who knows
Google it and watch thousands of tutorials from youtube ranging from 2×2 to 5×5 rubiks cube. You will surely learn to solve the most popular 3×3 rubiks cube maybe after a week of practice and memorizing the algorithms.
Leave a comment...
Connect
Latest Poll
Recent Posts