Troika's Temple of Elemental Evil came out in 2003, adapting an old school tabletop adventure into videogame form while being remarkably true to the then-current third edition of the Dungeons & Dragons rules. It's pretty good! I like the bits where you doss around the village of Hommlet and the piratical cove of Nulb more than the temple of the title, but having a too-large dungeon at the end is just another way The Temple of Elemental Evil is true to the typical experience of a D&D adventure.
SNEG revived The T of EE and brought it to Steam last year, with a few refinements and updates. One much-requested addition was achievements, because modern players demand our motivational trophies I guess. SNEG gave in and added them in a recent update, along with some bug fixes.