The program can be modified readily to guess numbers which
can have duplicate digits.  See the essay now.
http://www.jsoftware.com/jwiki/Essays/moo



----- Original Message -----
From: Björn Helgason <[EMAIL PROTECTED]>
Date: Tuesday, December 18, 2007 3:47
Subject: [Jgeneral] Mastermind
To: General forum <[email protected]>

> My daughter wanted to look at games and I looked in jsoftware 
> for mastermind
> and found moo
> 
> She tried it and said it did not work so I tested it and sure 
> enough it
> looked like it did not work always but on closer inspection it 
> was we that
> gave wrong clues so no wonder it did not give right answer.
> 
> Also to note is that the numbers you think of must be distinct.
> 
> So moo is working as designed and quite interesting.
> 
> Would it make a much difference to allow the numbers to be repeted?
> 
> Using 7 numbers seems to be the limit to use
> 
> Everyone who has played mastermind knows how frustrating it is 
> to be given
> wrong clues.
> Using moo is a good way of showing the kids what happens if 
> wrong clues are
> given and you do not need to suffer.
> J does the suffering for you.
> 
> I think I looked briefly at moo a way back but I guess I did not 
> pay too
> much attention to it.
> It is actually good.
> Would be interesting to have graphics front end on it.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to