Fifteen Puzzle: Overhauled! August 6, 2010

Posted by Alex Raymond in planetkde-alexraymond

I remember, a long time ago, Tomaz (tumaix || tcanabrava) showing me what KDE was all about, explaining all the philosophy behind it and why it was there for. While he kept saying how it worked, and all of that, I couldn’t help but to completely ignore every single word that he said.

“I like this puzzle thing.”

He’d let go a frustrated sigh.

As I kept playing it through some boring class (no, Sandro, it wasn’t yours!), I asked him, “Can I have more tiles? Like… to make it harder?” He grinned in an conspicuously evil way and said, “No. But you could make it yourself.”

So that was my first contribution to KDE: a changeable number of pieces, a randomizer, and a color chooser. Nowadays, I am a bit more experienced, and the same Tomaz threatened kindly invited me to work on KDE at a daily basis as an intern under his guidance. He let me choose where to work and get used with KDE development.

“Fifteen Puzzle.” I decided to spend my early hacking days to shelter the orphaned plasmoid, and here’s what it looks like now:

Changes include:

Fixed the old positioning, which generated only unsolvable puzzles.

Chronometer running (just shuffle and solve it to know your time).

Theme color support.

Images!

Bugfixes and minor tweaks.

There is still some to be done, and I hope to end it shortly. I know that it isn’t much, but I feel happy for it. My endless thanks for Tomaz, due to his enormous, endless, and incredibly lasting patience support 24/7.

I’ll have more news next week! See you there!

P.S.: I will be moving to another project very soon! Any suggestions?