Made the jelly guess reasonably "smarter", so that it recognizes when it has the correct set of values. Also documented the methods in Pattern class.
Made the jelly guess reasonably "smarter", so that it recognizes when it has the correct set of values. Also documented the methods in Pattern class.
Merge branch 'master' of https://github.com/sothie1/471_PROJECT
Separated JellyGuess and SimpleGuess strategies. Updated the Pattern class and the main Mastermind file. Also introduced new GameResult class object that can pass information about the final state of a game.
Separated JellyGuess and SimpleGuess strategies. Updated the Pattern class and the main Mastermind file. Also introduced new GameResult class object that can pass information about the final state of a game.
Merge branch 'master' of https://github.com/sothie1/471_PROJECT
Merge branch 'master' into dev.
Made FiveGuess1.java algorithm, but it doesn't work.
Made FiveGuess1.java algorithm, but it doesn't work.
Renamed Pattern to Pegs, because Pattern is an existing Java class. Oops. Also created a Reply class that is the output of Evaluate, and holds the # matches and misses.
Merge branch 'dev'.
Made a new algorithm that narrows down the search space exponentially on each successive turn. Maybe this is how the five-guess algorithm is supposed to work?  I'll explain it in the writeup.