From 8c7bcd605e30549e09b4c7fe943e9679244d4418 Mon Sep 17 00:00:00 2001 From: BNguyen2256 <31777017+BNguyen2256@users.noreply.github.com> Date: Tue, 24 Oct 2017 01:37:05 -0500 Subject: [PATCH] Update War File --- War File | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/War File b/War File index 2e4bff4..c129e80 100644 --- a/War File +++ b/War File @@ -16,4 +16,15 @@ Up; If the new cards are equal repeat the previous maneuver; Repeat until one player flips over a greater card than the other player; +First of all you only wrote down the rules on how to play the card game and didn't even put in +of your own psuedocode down. I'm going to show how you would start your code if you were to do +it. +while (player has > 0 cards) { + both players put down one card from their hand + if player one's card is larger than player two's card + player one takes his card and other card and put it at the bottom of player one's deck +} + +TO DO LIST: +The rest of the code.