A Game-Based Competition as Instrument for Teaching Artificial Intelligence