Skip to content

Game Of War

Notifications You must be signed in to change notification settings

hemao/GameOfWar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GameOfWar

To play, each player reveals the top card in their stack. The player who played the card with the higher rank (Aces high) takes both cards and puts them at the bottom of their stack in an arbitrary order.

If there is a tie, then it's War! In the card game each player places the top three cards of their stack face down, and then each player reveals the top card again. Whoever wins out of the second reveal takes all of the cards, and if there is another tie the process repeats until there is a winner.

The Game ends : if one of the player has no cards left or If the players enter the war state(revealed cards have the same value) and one of the players have less than 4 cards left. Note: Once war is declared(tie!), each player needs atleast 4 cards to start the fight - draw 3 cards(closed) and reveal top card from deck(total 4 cards)

Installation

Open the Index.html

About

Game Of War

https://hemao.github.io/GameOfWar/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published