Skip to content

narayave/game-of-war

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Game of War - OO Design

Rules

  • This is a two player game

  • A deck of 52 cards is shuffled

  • The deck is split between the 2 players

  • Card suit does not matter in this game

  • Every turn, both players flip a card

  • The person that turns over the higher card wins both of the card

  • Those cards are added to the end of the player's deck

  • If players cards match, then the following happens:

    • Each player flips two more cards each
    • The third flipped card breaks the tie
    • The winner of the round gets the set of eight cards total
  • The winner of the game is the person with the whole deck of cards

About

Game of War card game object oriented design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages