Skip to content

A simple, war-like, card game simulation for Data Structures course.

Notifications You must be signed in to change notification settings

mattlevan/Simple_Card_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple_Card_Game

A simple, two player, card game simulation.

#########

The deck of cards contains 52 cards with 13 cards each in the 4 suits: clubs, diamonds, hearts, spades. Each player begins with 26 cards and one of the players starts the game by putting their first card on the table. Players take turns by putting the top card from their hand, until the current card placed on the table matches the suit of the previous card on the table. If a match happens, the player whose card matched gets all the cards currently on the table and adds them at the end of the cards currently in his or her hand. Game continues until one player gets all 52 cards, or for 10 rounds.

About

A simple, war-like, card game simulation for Data Structures course.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages