Transfer Learning through Analogy in Games