Talk:Mastermind: Difference between revisions
Content added Content deleted
m (added a separator line, otherwise it looks like I was talking to myself.) |
(→Concerns about Julia (maybe other) implementation(s): new section) |
||
Line 16: | Line 16: | ||
-- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:47, 31 January 2017 (UTC) |
-- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:47, 31 January 2017 (UTC) |
||
== Concerns about Julia (maybe other) implementation(s) == |
|||
Looking over the Julia implementation (and I'm not familiar enough with all of the other languages on this page to say it's an exclusive problem, just able to read Julia to notice it), it seems that there is potential for more white circles (or O's for text version) to be shown than there are occurrences of some letter in the original code string. For example, with code ABCD, guess AAAA should output X--- and I believe this implementation will output (again, with graphics instead of lettering) XOOO. |
Revision as of 03:00, 12 July 2019
Duplicate of Bulls and cows task
Mastermind is just a modern name for the game Bulls_and_cows, for which there is already a page.
(unsigned)
- Except that the game of Bull and Cows:
- limits the characters to nine decimal digits (usually one ───► nine),
- the number of characters (decimal digits) in the guess is mandated to be four,
- has scoring,
- has a limit for the number of guesses,
- doesn't allow duplication (replication/repeats) of any decimal digit,
- and has less (and different) requirements for the display.
-- Gerard Schildberger (talk) 09:47, 31 January 2017 (UTC)
Concerns about Julia (maybe other) implementation(s)
Looking over the Julia implementation (and I'm not familiar enough with all of the other languages on this page to say it's an exclusive problem, just able to read Julia to notice it), it seems that there is potential for more white circles (or O's for text version) to be shown than there are occurrences of some letter in the original code string. For example, with code ABCD, guess AAAA should output X--- and I believe this implementation will output (again, with graphics instead of lettering) XOOO.