Skip to content

forvy/poker-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poker Card Game CLI

Prerequisites

  • Make sure npm is available. If not, install Node.js.
  • Make sure tsc is available. If not install TypeScript: npm install -g typescript
  • Install dependencies: npm install

Running app

Docker Node.js

  • Make sure docker is available. If not, install Docker.
  • Build image: npm run build:docker
  • Run app and see usage: docker run poker-cli
  • Example: docker run poker-cli compare "TS JS QS KS AS" "KS 2H 2D JD TD"

Local Node.js

  • Build app: npm run build
  • Link build npm link poker-cli
  • Run app and see usage: poker-cli
  • Example: poker-cli compare "TS JS QS KS AS" "KS 2H 2D JD TD"

Running tests

  • No build required (tests are ran directly through ts-node).
  • Run tests: npm run test

About

Poker Card Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •