Skip to content

zhengyd2014/cardgame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Card Game

a java program to demo how to use the deck of cards API (http://deckofcardsapi.com)

How to play

  1. a user to draw a card from a single deck. Based on the drawing, the program keeps a running count in a list of the value of the card (ignoring the suit or color).

  2. Once the round is over, the user can pull another card from the deck or to reshuffle the deck or to start a new game.

How to run

  1. check out code from git repository
  2. mvn exec:java -e -Dexec.mainClass="game.Main"

About

a java program to demo how to use rest api from http://deckofcardsapi.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages