handForPlayScore function
- HandChoice choice
Implementation
Hand handForPlayScore(HandChoice choice) => switch (choice) {
HandChoice.right => Hand.direita,
HandChoice.left => Hand.esquerda,
HandChoice.both => Hand.ambas,
// `sequence` (EX22): o passo é que escolhe a mão; sem passo, as duas.
HandChoice.sequence => Hand.ambas,
};