C++ implementation of Magic: The Gathering Engine