The Dungeon of Htam ['math' spelled backwards] is a two level dungeon where the player must answer math questions as he wanders through the maze. He receives gold for a correct response, and will lose gold for an in-correct response. His goal is to find the way out of the dungeon with as much gold as possible.
Notes
Published in the books Mostly BASIC: Applications for Your Apple II and Mostly BASIC: Applications for Your TRS-80, both from 1980.
Barry Hart produced an unofficial port of a TRS-80 CoCo version of the game to C64 in 2017.