[–] Zesty 0 points 2 points (+2|-0) ago 

You might also be interested in Codingame.com, it has more serious challenges and assumes you know the basics of the language that you will be using.

Also check out the games by Zachtronics. They are usually pretty cheap on steam and they are excellent learning tools. I've spent a fair bit of time in TIS-100, but their new game Shenzen-I/O is supposed to be even better.