(11C) Code guessing game
|
07-23-2018, 03:22 PM
(This post was last modified: 07-24-2018 09:51 PM by SlideRule.)
Post: #17
|
|||
|
|||
RE: (11C) Code guessing game
(04-30-2018 07:29 PM)Rogier Wrote: … The minor problem is the double scoring of digits of a correct colour AND in the right place. That could easily be solved (multiply by 10 and subtract from the total of correct digits) … I don't check whether a colour has already been tested and with what kind of result … A modest suggestion: go ahead and score the color twice, irrespective of the correct position using the 1's digit BUT score the correct position(s) by adding nine to the score rather than ten. That is to say, score the colors first with sums of 1-digit in the one's column and then score the position second with sums of the 9-digit in the one's column. Four color example: a) 3 correct colors = 3 b) 1 correct position = 9 c) 3 + 9 = 12 d) 1 correct color in correct position, 2 correct colors in wrong position Make sense? Give it a go! [attachment=6155] example work flow BEST! SlideRule |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)