Memory 560

559 characters of code. Use arrow keys to move the cursor and Z to turn cards. Try to find matching pairs. Enjoy the amazing ending sequence when you find all pairs. The counter shows the number of turns you needed.