2019-03-23 09:57:58 +00:00
|
|
|
package main
|
|
|
|
|
2019-03-24 04:13:06 +00:00
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
2024-05-19 00:33:15 +00:00
|
|
|
"git.eeqj.de/sneak/pokercore"
|
2019-03-24 04:13:06 +00:00
|
|
|
)
|
2019-03-23 09:57:58 +00:00
|
|
|
|
|
|
|
func main() {
|
|
|
|
myDeck := pokercore.NewDeck()
|
|
|
|
myDeck.ShuffleRandomly()
|
2019-03-24 04:13:06 +00:00
|
|
|
a := myDeck.Deal(5)
|
|
|
|
b := myDeck.Deal(7)
|
|
|
|
a.PrintToTerminal()
|
|
|
|
fmt.Printf("\n%#v\n", a)
|
|
|
|
b.PrintToTerminal()
|
|
|
|
fmt.Printf("\n%#v\n", b)
|
2019-03-23 09:57:58 +00:00
|
|
|
}
|