Stolen from the latest Professor Layton game on the 3DS.  Try to get the black cat to be the last on the board.