Shadowgate

Shadowgate is an adventure game for the Nintendo Entertainment System released in 1989.