News for hackers. Stuff that matters.
Re:Rubik's Cube in Prolog – Order by timonoko on Thursday January 15, 2026 @02:25AM (#46629220)
It would be much funnier, if the Cube was at origo. So indexes are {-1,0,+1}. And thus Cube[0,0,0] is empty, or maybe there is a ball with 6 screw-holes in it.
Re:Rubik's Cube in Prolog – Order by timonoko on Thursday January 15, 2026 @03:27PM (#46638755)
Nearest nonhuman intelligence seems to be the only one to appreciate this approach. It shortens the code and also search space as it is easier to recognize symmetries.