This gif basically sums it up
http://i.imgur.com/UF3Q4R4.gifThe words are loaded (along with a hint) from an external file. Then one is chosen at random, sorted (alphabetically), and then you get to swap the letters back into place (point and click and then SFML will find the letter that contains mouse coords). White letters are in the wrong place, green are in the correct place. I also used the "wave-blur" shader from the SFML SDK to give the neat wave effect on the hint words.
The purpose of this project was basically to toy around with some of the basic classes in SFML and see if I could make something simple. I was also partially inspired by Vittreo Romeo's "Arkanoid in ~160 lines, " and I wanted to see if I could make something small and compact like that (although this project came out to be about ~300 lines).
One thing I thought about adding was a better predicate to sort / scramble the words, but I wasn't too focused on changing that at the time.
Anyway, I'm let me know if you have any questions or comments. I'm interested to see if anyone tries it out and likes it.