Skip to content

Simple .NET version of card game War, where player who draws the highest card value wins.

License

Notifications You must be signed in to change notification settings

ErikHumphrey/cardwar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cardwar

Simple .NET version of card game War, where player who draws the highest value card wins. This is a singleplayer version versus a computer.

Gameplay

Initial interface

The game uses the standard deck of 52 French playing cards. Click on your deck or "Start game" to shuffle the deck and draw a card. The computer will reveal their card as well.

You gain points depending on the value of your card compared to the computer's.

Points are awarded as follows:

  • Having a higher score than the other player is worth 2 points.
  • A tie results in both players getting 1 point.

The human player wins the round because their 8 of clubs is worth more than the computer's 2 of spades.

The human player wins the round because their 8 of clubs is worth more than the computer's 2 of spades.

Winning the game

After all cards are drawn (points should add up to 52), the player with the highest score wins. Draws are possible.

You can prematurely end the game at any time by hitting "Stop game" and subsequently exit the program by hitting "Quit game".

Installation

Download from the Releases page and save to any directory. Double-click HumphreyErik20CardWars.exe to play.

System requirements

About

Simple .NET version of card game War, where player who draws the highest card value wins.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages