Ali Baba and the Forty Thieves

Ali Baba and the Forty Thieves is an adventure game for the Apple II, Atari 8-bit, and Commodore 64. It was programmed by Stuart Smith and released by Quality Software in 1981.

The player plays as Ali Baba, and travels through a maze-like map of the city in order to rescue a princess. The game involves interaction with shopkeepers and enemies throughout the game's extensive map. Ali Baba and the Forty Thieves incorporates various mythological and superstitious elements into the storyline and environment. These include the Western zodiac and ancient Arabic fairytales.