Does anyone remember this math computer game from the mid-to-late 2000s?

You had to escape from a dungeon. On each level, there would be huge monsters, and you would have to solve multiplication problems in order to attack them. Once you defeated the monsters, you could get on an elevator and move on to the next level. I vaguely remember there being at least one lower-powered monster plus a boss on each level, but I'm not at all sure about that. One boss fight took place in the open air, on a rooftop. The game was computer animated. Does anyone remember what it was called?

2015-10-10T09:33:45Z

Edit: It wasn't Math Blasters. The entire thing took place in the same dungeon/prison, and the only good guy was the player character (who I think looked like some kind of goblin).

Shaun2015-10-09T03:12:13Z

Could it be Math Blasters? It sounds pretty similar, at least.