Play at https://poker.peterlwu.com. Note that the site has to cold start because I'm a college student who doesn't want to pay for more dynos on Heroku.
Using socket.io
, Node.js
, and express
to make a distributed poker game. Allows for multiple
gameplay rooms simultaneously across different devices.
yarn install
installs all the dependencies required to run the webapp.
yarn dev
starts the game with hot reloading provided by nodemon
.
- The game will be viewable by navigating to
localhost:3000
.
yarn start
runs the Node server without hot reloading. Intended for deployment use.
yarn test
evaluates the unit tests located in test/classes/.