# 928f2afc45401799a266a4acbf2fd9475df9743a4494305d7f3b03e8f1ae4206 Elan 1.8.0 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
