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 aa6309680a lobby view message 3 years ago
api lobby view message 3 years ago
cmd ws offline logic... 3 years ago
data lobby view message 3 years ago
internal lobby view message 3 years ago
tool balance persist 3 years ago
.gitignore auth msg, dockerfile 4 years ago
Dockerfile build test 4 years ago
Makefile fold bugfix 4 years ago
README.md lobby view message 3 years ago
go.mod delay queue bugfix 3 years ago
go.sum store with go-cache 3 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 2>&1 > texas.log & pkill -f ./texas

TODO List

  • 牌局结束后,清理离线玩家
  • 下注页面倒计时、超时自动操作
  • 前端lobby页面显示内容优化
  • lobby界面用户创建新桌面时通知消息,前端拉取新大厅牌桌列表
  • header头部编辑、退出、账户金额,流水查询
  • 日志优化
  • 验证码
  • 性能测试、系统调优
    • 大厅桌面变化日志版本记录
    • 注册同时生成大厅tiny头像