A javascript game engine for MTG.