This is a game module made by talented youngster Andrew Kelly for the original Neverwinter Nights. Andrew was part of a school trial we conducted in late 2006 at Ancrum Road Primary School in Dundee, and he's been working on his game ever since.
It's actually three games in one - you can choose the English, Maths or Mixed Subjects module, and once in the game you'll have to answer questions on your chosen subject to proceed. Well done Andrew!
(Tips: You need Neverwinter Nights installed to play the game. Once it's installed, download and open the zip file linked to above, and then extract the 3 modules to the Neverwinter Nights module directory - this is usually found at C:\NeverwinterNights\NWN\modules. In the first area of the game, you can get out by hovering the mouse over the doorway until it turns blue and then clicking it, rather than moving your character through the door.)