Skip to content

nphuong302/PythonOOP_CardsGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

PythonOOP_CardsGame

Recreate the card game called "War"

Let's have a quick overview of the game: wikipedia.org/wiki/War_(card_game)

Start of with 52 cards deck, and the after shuffling the deck, we split it up into two decks for 2 players

And now these two players will grab one of their cards and lay on the table, and the card that has the higher ranking wins. And when a player wins this matchup, they take both cards and they go into their deck.

The player that loses is the one that has no more cards remaining

To construct this game, we will create:

Deck Class

Han Class

Player Class

Game Logic

In this game, we're not actually going to have a human player. Instead, we're going to just be simulating a game of war between two computer players

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages