Category: Puzzles
-
Revisiting the MinAttak chess problem
I blogged about my old Java Applet for the chess minimum attack (dominance) puzzle previously here. But of course Java Applets are now deader than a very dead thing that’s also been poisoned, burnt, and crushed. I’ve been playing around trying to learn a bit more JavaScript, and as a learning exercise, I coded up…
-
Untangle, Planarity.
I’ve been writing some code (in Java) to solve this fun puzzle. I’ve played the puzzle for many years – it’s part of the excellent and free Simon Tatham’s Portable Puzzle Collection which has been available on many platforms for ages and has recently been ported to Android too. Untangle was inspired by Planarity, written…
-
Flash Rubik Cube Simulator
Above is a snapshot image. Here’s the real thing. It works for any size of cube from 2 x 2 x 2 up to 11 x 11 x 11. Actually, 11 is an arbitrary limit – the same code would work for any size of cube. Use the little + and – buttons up in the top…
-
The Minimum Attack Problem
Place five queens on a chess board so that every square on the board is attacked. It’s an old and famous problem; there are lots of solutions and it’s pretty easy to find one. Try it for yourself and see! Now try using just three queens and two rooks. Not so easy this time; the…