Asterix and the Magic Carpet
Asterix and the Magic Carpet is a computer game for the Amstrad CPC, Thomson TO8, Commodore 64, Amiga, and Atari ST home computers and for PCs running MS-DOS. The game is based on the eponymous volume 28 of the popular French Asterix comic books and was released in 1987.
Asterix and the Magic Carpet starts as a graphical adventure game where you can select a character on the screen with a cursor and select what he should say, which then influences how the rest of the game plays out. Occasionally there a Pac-Man-like mini arcade games where Asterix has to defeat legionnaires, wild boars, or other enemies in a maze with the help of Obelix who oscillates back and forth in a fixed section of the maze. So the general approach is to catch an enemy's attention, then run away and hide behind Obelix, who will hopefully defeat the enemy.