Ali Baba and the Forty Thieves is dungeon crawl role-playing video game written by Stuart Smith for the Atari 8-bit computers and published by Quality Software 1981.
The player plays as Ali Baba, and travels through a maze-like map of the city and surrounding wilderness in order to rescue a princess.
Ali Baba and the Forty Thieves incorporates some Dungeons & Dragons conventions as well as various mythological and superstitious elements into the storyline and environment.
[3] Softline stated that "Ali Baba displays a sense of creative humor that lifts it above routine adventure games ...
[4] Electronic Arts later combined Ali Baba and the Forty Thieves and The Return of Heracles into Age of Adventure, which was ported to the Commodore 64.