added constant for size of random()'s state array, added sate array to context, changed name of max cards constant