# bf690512552da28ae44d1820a7a81bbca7938db635097eccaeb7a7c1dd256cb2 Elan 1.6.4 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
