# 032a4c4be95540ea77cf89cf732a33a5afe608337b37ef37481fe33a94bb2420 Elan 1.6.1 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
