From 79e53c293bb41c723595d6877c755cb025c316a4 Mon Sep 17 00:00:00 2001 From: AnthonyMichaelTDM <68485672+AnthonyMichaelTDM@users.noreply.github.com> Date: Mon, 7 Mar 2022 00:58:30 -0800 Subject: [PATCH] while we're at it, fix the javascript port not showed guess results too --- 60_Mastermind/javascript/mastermind.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/60_Mastermind/javascript/mastermind.js b/60_Mastermind/javascript/mastermind.js index 454639a0..6a8b27db 100644 --- a/60_Mastermind/javascript/mastermind.js +++ b/60_Mastermind/javascript/mastermind.js @@ -269,6 +269,8 @@ async function main() print("YOU GUESSED IT IN " + m + " MOVES!\n"); break; } + //tell human results + print("YOU HAVE " + b + " BLACKS AND " + w + " WHITES.") // Save all this stuff for board printout later ss[m] = str; sa[m] = [];