diff --git a/README.md b/README.md index 478c5ab..f906dec 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ joker ======== -[![Build Status](https://drone.io/github.com/loganjspears/joker/status.png)](https://drone.io/github.com/loganjspears/joker/latest) +[![Build Status](https://drone.io/github.com/notnil/joker/status.png)](https://drone.io/github.com/notnil/joker/latest) The goal of Joker is to be an open source and fully functioning poker backend in go. Joker will attempt to support roughly the same feature set as Full Tilt Poker. @@ -11,19 +11,19 @@ cmd holds the executable portions of Joker. This currently includes a comand li ## hand -The [hand package](http://www.godoc.org/github.com/loganjspears/joker/hand) is responsible for poker hand evaluation. hand is also home to card and deck implementations. +The [hand package](http://www.godoc.org/github.com/notnil/joker/hand) is responsible for poker hand evaluation. hand is also home to card and deck implementations. ## jokertest -The [jokertest package](http://www.godoc.org/github.com/loganjspears/joker/jokertest) provides convience methods for testing in the other packages. For example, jokertest's Dealer produces a Deck with a prearranged series of cards instead of ones in random order. +The [jokertest package](http://www.godoc.org/github.com/notnil/joker/jokertest) provides convience methods for testing in the other packages. For example, jokertest's Dealer produces a Deck with a prearranged series of cards instead of ones in random order. ## pot -The [pot package](http://www.godoc.org/github.com/loganjspears/joker/pot) tracks contributions from players and awards players with winning hands. It supports hi/lo split pots. (pot might eventually get merged into table) +The [pot package](http://www.godoc.org/github.com/notnil/joker/pot) tracks contributions from players and awards players with winning hands. It supports hi/lo split pots. (pot might eventually get merged into table) ## table -The [table package](http://www.godoc.org/github.com/loganjspears/joker/table) provides a table engine to run a poker table. Turn managment, player action requests, dealing, forced bets, etc are in this package. An example of a working table is available in th cmd section. +The [table package](http://www.godoc.org/github.com/notnil/joker/table) provides a table engine to run a poker table. Turn managment, player action requests, dealing, forced bets, etc are in this package. An example of a working table is available in th cmd section. ## util util is a place for code shared by multiple packages, but otherwise wouldn't be exported. Might be converted to internal package in go 1.5. diff --git a/cmd/cli-client/main.go b/cmd/cli-client/main.go index 77085dd..fe4e1c8 100644 --- a/cmd/cli-client/main.go +++ b/cmd/cli-client/main.go @@ -6,8 +6,8 @@ import ( "strconv" "strings" - "github.com/loganjspears/joker/hand" - "github.com/loganjspears/joker/table" + "github.com/notnil/joker/hand" + "github.com/notnil/joker/table" ) const ( diff --git a/hand/README.md b/hand/README.md index 972f9b1..7849919 100644 --- a/hand/README.md +++ b/hand/README.md @@ -6,7 +6,7 @@ Poker hand evaluation and ranking written in go (golang) To install run: ``` -go get github.com/loganjspears/joker/hand +go get github.com/notnil/joker/hand ``` ```go @@ -15,7 +15,7 @@ package main import ( "fmt" - "github.com/loganjspears/joker/hand" + "github.com/notnil/joker/hand" ) func main() { diff --git a/hand/doc.go b/hand/doc.go index 0938fa9..0de037e 100644 --- a/hand/doc.go +++ b/hand/doc.go @@ -5,7 +5,7 @@ Package hand implements poker hand evaluation and ranking. To install run: - go get github.com/loganjspears/joker/hand + go get github.com/notnil/joker/hand Example usage: @@ -14,7 +14,7 @@ Example usage: import ( "fmt" - "github.com/loganjspears/joker/hand" + "github.com/notnil/joker/hand" ) func main() { diff --git a/hand/hand.go b/hand/hand.go index ce9d8fa..8090bb6 100644 --- a/hand/hand.go +++ b/hand/hand.go @@ -6,7 +6,7 @@ import ( "sort" "strings" - "github.com/loganjspears/joker/util" + "github.com/notnil/joker/util" ) // A Ranking is one of the ten possible hand rankings that determine the diff --git a/hand/hand_test.go b/hand/hand_test.go index f025ce3..7490131 100644 --- a/hand/hand_test.go +++ b/hand/hand_test.go @@ -4,8 +4,8 @@ import ( "encoding/json" "testing" - . "github.com/loganjspears/joker/hand" - "github.com/loganjspears/joker/jokertest" + . "github.com/notnil/joker/hand" + "github.com/notnil/joker/jokertest" ) type testPair struct { diff --git a/jokertest/jokertest.go b/jokertest/jokertest.go index 091af88..331b169 100644 --- a/jokertest/jokertest.go +++ b/jokertest/jokertest.go @@ -1,6 +1,6 @@ package jokertest -import "github.com/loganjspears/joker/hand" +import "github.com/notnil/joker/hand" // Cards takes a list of strings that have the format "4s", "Tc", // "Ah" instead of the hand.Card String() format "4♠", "T♣", "A♥" diff --git a/jokertest/jokertest_test.go b/jokertest/jokertest_test.go index 4ca6017..dbf1f6b 100644 --- a/jokertest/jokertest_test.go +++ b/jokertest/jokertest_test.go @@ -3,8 +3,8 @@ package jokertest_test import ( "testing" - "github.com/loganjspears/joker/hand" - "github.com/loganjspears/joker/jokertest" + "github.com/notnil/joker/hand" + "github.com/notnil/joker/jokertest" ) func TestDeck(t *testing.T) { diff --git a/table/game.go b/table/game.go index 609a718..3d2933e 100644 --- a/table/game.go +++ b/table/game.go @@ -3,8 +3,8 @@ package table import ( "errors" - "github.com/loganjspears/joker/hand" - "github.com/loganjspears/joker/util" + "github.com/notnil/joker/hand" + "github.com/notnil/joker/util" ) // A Game represents one of the different poker variations. diff --git a/table/game_test.go b/table/game_test.go index c876fb6..1c12123 100644 --- a/table/game_test.go +++ b/table/game_test.go @@ -3,8 +3,8 @@ package table import ( "testing" - "github.com/loganjspears/joker/hand" - "github.com/loganjspears/joker/jokertest" + "github.com/notnil/joker/hand" + "github.com/notnil/joker/jokertest" ) var tests = []struct { diff --git a/table/hands.go b/table/hands.go index 0cffbda..3b7ff4d 100644 --- a/table/hands.go +++ b/table/hands.go @@ -1,6 +1,6 @@ package table -import "github.com/loganjspears/joker/hand" +import "github.com/notnil/joker/hand" // handCreationFunc represents the function signature for creating a hand. type handCreationFunc func(holeCards []*hand.Card, board []*hand.Card) *hand.Hand diff --git a/table/hole_card.go b/table/hole_card.go index e76dd20..a426928 100644 --- a/table/hole_card.go +++ b/table/hole_card.go @@ -1,6 +1,6 @@ package table -import "github.com/loganjspears/joker/hand" +import "github.com/notnil/joker/hand" // CardVisibility indicates a HoleCard's visibility to other players type CardVisibility string diff --git a/table/pot.go b/table/pot.go index cce8988..87975e4 100644 --- a/table/pot.go +++ b/table/pot.go @@ -6,7 +6,7 @@ import ( "sort" "strconv" - "github.com/loganjspears/joker/hand" + "github.com/notnil/joker/hand" ) // Results is a mapping of each seat with its slice of results. diff --git a/table/pot_test.go b/table/pot_test.go index a9b588a..e5cdac6 100644 --- a/table/pot_test.go +++ b/table/pot_test.go @@ -4,8 +4,8 @@ import ( "encoding/json" "testing" - "github.com/loganjspears/joker/hand" - "github.com/loganjspears/joker/jokertest" + "github.com/notnil/joker/hand" + "github.com/notnil/joker/jokertest" ) var ( diff --git a/table/table.go b/table/table.go index 33e4c57..47dd1e2 100644 --- a/table/table.go +++ b/table/table.go @@ -7,7 +7,7 @@ import ( "reflect" "strconv" - "github.com/loganjspears/joker/hand" + "github.com/notnil/joker/hand" ) var ( diff --git a/table/table_test.go b/table/table_test.go index e369c34..49f1315 100644 --- a/table/table_test.go +++ b/table/table_test.go @@ -4,8 +4,8 @@ import ( "encoding/json" "testing" - "github.com/loganjspears/joker/hand" - "github.com/loganjspears/joker/table" + "github.com/notnil/joker/hand" + "github.com/notnil/joker/table" ) func register() { diff --git a/util/util_test.go b/util/util_test.go index 8de9706..d65bfce 100644 --- a/util/util_test.go +++ b/util/util_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/loganjspears/joker/util" + "github.com/notnil/joker/util" ) type combo struct {