go-poker/misc/generateTestSuite.go

19 lines
283 B
Go
Raw Permalink Normal View History

2019-03-23 09:57:58 +00:00
package main
import (
"fmt"
"git.eeqj.de/sneak/go-poker/pokercore"
)
2019-03-23 09:57:58 +00:00
func main() {
myDeck := pokercore.NewDeck()
myDeck.ShuffleRandomly()
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
}