You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
tangmingyou a4480a9dcb card fight bugfix 4 years ago
api limited texas optimize code 4 years ago
cmd card fight bugfix 4 years ago
data auth msg, dockerfile 4 years ago
internal card fight bugfix 4 years ago
tool card fight bugfix 4 years ago
.gitignore auth msg, dockerfile 4 years ago
Dockerfile make build 4 years ago
Makefile make build 4 years ago
README.md build texas 4 years ago
go.mod avatar some bug 4 years ago
go.sum avatar some bug 4 years ago

README.md

proto 编译 golang

go install github.com/golang/protobuf/protoc-gen-go 
cmd/protoc-3.19.4/bin/protoc.exe --go_out=./ api/game.api

proto 编译 js

npm install -g protobufjs-cli
# js
pbjs -t static-module -w api/jsproto -o proto.js api/*.proto
# json
pbjs -t json api/*.proto > jsproto.json

网易德州扑克规则

cd target nohup ./texas -conf=config.toml -region=sh -zone=sh001 -deploy.env=dev -weight=10 2>&1 > texas.log & pkill -f ./texas