Pascal Version of Dungen Knight