Java programs and libraries for Magic: The Gathering