bugfix, Cards now uses GameExceptions, new function added 'toArray'