I’ve got myself a SVN account on the KDE repository and have imported KSquares. It can be found at http://websvn.kde.org/trunk/playground/games/ksquares/. If you want to build it you’ll need KDE4 and you’ll have to checkout the whole playground/games folder in order to get all the CMakeLists.txt files.