# 02de6d198d8e35c42874c7259a9935ee47d0a4c3b1836d84a2b6e0653aa3cc68 Elan 1.6.2 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
