https://github.com/pmuens/goker
A Texas Hold'em Poker implementation written in Go
https://github.com/pmuens/goker
go golang tdd test-driven-development tutorial
Last synced: 7 months ago
JSON representation
A Texas Hold'em Poker implementation written in Go
- Host: GitHub
- URL: https://github.com/pmuens/goker
- Owner: pmuens
- License: apache-2.0
- Created: 2024-09-26T12:47:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-01T14:32:19.000Z (over 1 year ago)
- Last Synced: 2025-05-15T10:44:12.753Z (11 months ago)
- Topics: go, golang, tdd, test-driven-development, tutorial
- Language: Go
- Homepage: https://github.com/quii/learn-go-with-tests
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Goker
A Texas Hold'em Poker implementation written in Go while following [quii/learn-go-with-tests](https://github.com/quii/learn-go-with-tests).
## Setup
1. `git clone `
2. `asdf install`
3. `go test ./...`
4. `go run ./cmd/webserver/main.go` OR `go run ./cmd/cli/main.go`
## Useful Commands
```sh
go run
go build []
go test [][/...] [-v] [-cover] [-race] [-parallel ]
go test -bench=. [] [-count ] [-benchmem] [-benchtime 2s] [-memprofile ]
go test -coverprofile []
go tool cover -html
go tool cover -func
go doc []
go fmt []
go vet []
go mod init []
go mod tidy
go mod vendor
go mod download
go work init [ [] [...]]
go work use [ [] [...]]
go work sync
# Adjust dependencies in `go.mod`.
go get [@]
# Build and install commands.
go install [@]
go list -m [all]
```
## Useful Resources
- [Go - Learn](https://go.dev/learn)
- [Go - Documentation](https://go.dev/doc)
- [Go - A Tour of Go](https://go.dev/tour)
- [Go - Effective Go](https://go.dev/doc/effective_go)
- [Go - Playground](https://go.dev/play)
- [Go by Example](https://gobyexample.com)
- [100 Go Mistakes and How to Avoid Them](https://100go.co)