Skip to content

Commit

Permalink
Started README
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcmillenmusic committed Mar 12, 2024
1 parent 0bc952e commit 5abdd77
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
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.

0 comments on commit 5abdd77

Please sign in to comment.