Skip to content

bkazemi/gopoker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

gopoker

Poker game in Go (WIP)

Try it here

Development currently active on web branch

Setup

$ git clone https://github.com/bkazemi/gopoker
$ cd gopoker
$ git checkout web

# build the server
$ go build

# build the web frontend
$ cd web/
$ yarn build
# start the poker server on localhost:777
$ gopoker -s 777

# create a new poker room
$ curl -d '{"roomName": "test"}' -H "Content-Type: application/json" http://localhost:777/new

# connect to the poker room as a CLI client
$ gopoker -c ws://localhost:777/cli

# alternatively,  connect to the server as a web client
$ export  NEXT_PUBLIC_GOPOKER_SERVER_ADDR='localhost:777' # tell web frontend where the server is
$ yarn start # start next.js web frontend

About

A Poker CLI app (WIP)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages