# 058199333498796011b78348d8dbda8d2c20bff71114fa7e9013ef862ab4c07e Elan 1.7.0 guest default_profile valid

function dealCard(random as Float) returns Card
  let number be (random*52).floor()
  let rank be rankValue.keys()[number div 4]
  let suit be number mod 4
  return new Card() with rank set to rank, suit set to suit
end function
