Java version of HyperMTG