Skip to content

Eyob14/war_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

war_game

This is a Peer programming exercise for sprint 3 part 4 of Turing Collage Web development course.

"War" is a popular children's card game that is easy to learn and can be played with just two players. The game begins with each player receiving half of the full deck of cards, which are divided between them. The objective of the game is to collect all the cards, and the player who manages to do so is declared the winner.

During each turn, both players will reveal the top card of their respective piles simultaneously. The player with the card of the highest rank will collect both cards and add them to their pile. In the event that both players reveal cards of the same rank, the game enters a state of "war."

During war, each player will place three additional cards face down on the table before revealing the fourth card. The player with the higher rank card will collect all the cards on the table, including the six cards that were played. If both players reveal cards of the same rank again, the game will enter another round of war until one player wins.

It's important to note that jokers have the highest rank in this game, followed by ace, king, queen, jack, and then descending down to the two. The game will continue in this fashion until one player has collected all of the cards.

If you want to learn more about how to play War, we recommend checking out this helpful YouTube video that explains the game's rules in detail.

[Link to video: https://youtu.be/J5vT33Vo04s]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages