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 a550b917eb proto player HandType msg 4 years ago
api proto player HandType msg 4 years ago
cmd "big small blind": 4 years ago
etc "big small blind": 4 years ago
internal proto player HandType msg 4 years ago
tool betting round 4 years ago
.gitignore dao login 4 years ago
README.md 下注规则 4 years ago
go.mod websocket protobuf 4 years ago
go.sum websocket protobuf 4 years ago
ws.html dao login 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

game process

  1. player join (检查筹码...)
  2. player ready
  3. table begin 发牌
  4. 开始流程,大盲注 小盲注

网易德州扑克规则

跟注规则: 小盲注:房主下一个 大盲注:房主下下一个 跟注/加注:大盲注下一个

只有两人:第一轮小盲注先,后续大盲注先下注