mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 23:26:40 -08:00
while we're at it, fix the javascript port not showed guess results too
This commit is contained in:
@@ -269,6 +269,8 @@ async function main()
|
|||||||
print("YOU GUESSED IT IN " + m + " MOVES!\n");
|
print("YOU GUESSED IT IN " + m + " MOVES!\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
//tell human results
|
||||||
|
print("YOU HAVE " + b + " BLACKS AND " + w + " WHITES.")
|
||||||
// Save all this stuff for board printout later
|
// Save all this stuff for board printout later
|
||||||
ss[m] = str;
|
ss[m] = str;
|
||||||
sa[m] = [];
|
sa[m] = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user