2022-02-06 22:13:36 +01:00
|
|
|
package main
|
|
|
|
|
|
|
|
func main() {
|
2022-02-07 23:04:01 +01:00
|
|
|
//cards := newDeck()
|
|
|
|
//cards.save("cards")
|
|
|
|
cards, _ := load("cards")
|
|
|
|
hand, remainingCards := deal(cards, 5)
|
|
|
|
hand.print()
|
|
|
|
remainingCards.print()
|
2022-02-06 22:13:36 +01:00
|
|
|
}
|