Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 1.12 KB

File metadata and controls

16 lines (10 loc) · 1.12 KB

Java-Card-Game-War

a project to write the backend for the card game war written in Java.

Here are the rules of War https://en.wikipedia.org/wiki/War_(card_game)

The most difficult aspect of this project was that the client requested any number of players be allowed. Had this game been defined with just 2 players the storing of scores and tracking of a clearly defined number of players would have been greatly simplified. The game was built to handle dynamically any number of players and cards.

I included a quick screen cast in AVI format so you can watch the funcationalilty of create deck, shuffle the cards and run through the game ending with a winner and final scores.

In a future updates

  • I would like the game to be able to handle more than 1 war (per play round). as of this time it will only run one war which statistically catches the majority of plays.
  • Handle a war with the last 2 cards... suggest making it a tie and giving both players 1 point then closing the game with final scores.
  • A front end using Java AWT or within a web browser.

Any comments or questions can be emailed to jesseboydconsulting@gmail.com