# 17b6d1272ecb61442847d1a2cba3494219db5a1b3bc03054e7ff6e06383e2920 Elan 1.8.2 guest default_profile valid

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