-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from jmcmillenmusic/war-branch
Started README
- Loading branch information
Showing
1 changed file
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,23 @@ | ||
# js-card-game-war | ||
# JavaScript Card Game: War | ||
|
||
## Description | ||
|
||
After being able to generate cards more dynamically, I wanted to be able to re-create a very easy card game like War in order to demonstrate the ability to assign values to cards, deal cards out to players properly, and resolve game logic properly based on the rules of the game. | ||
|
||
## Installation | ||
|
||
You can access this page with the following URL: (Add URL here) | ||
|
||
## Usage | ||
|
||
Click on the Shuffle button first to shuffle the deck. Then, click on the Play button to play your top card and the computer's top card. If you win, click on the Take button to take its card. If you lose, click on the Give button to give up your card. If there's a tie, click on the War button so that you and the computer will play 4 additional cards each with only the last one being shown, then click on either Take, Give, or War after that. Once you or the computer wins, you'll get an indicator displayed declaring the winner. | ||
|
||
(Add screenshot here) | ||
|
||
## Credits | ||
|
||
N/A | ||
|
||
## License | ||
|
||
This project uses the MIT License. |