An open source implementation of classic video game Master of Magic