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] = [];