Merge branch 'master' of github.com:sneak/gopoker
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
import "github.com/sneak/gopoker/pokercore"
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"git.eeqj.de/sneak/go-poker/pokercore"
|
||||
)
|
||||
|
||||
func main() {
|
||||
myDeck := pokercore.NewDeck()
|
||||
myDeck.ShuffleRandomly()
|
||||
fmt.Println("%s", myDeck.Cards)
|
||||
a := myDeck.Deal(5)
|
||||
b := myDeck.Deal(7)
|
||||
a.PrintToTerminal()
|
||||
fmt.Printf("\n%#v\n", a)
|
||||
b.PrintToTerminal()
|
||||
fmt.Printf("\n%#v\n", b)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user