Hi..im creating a mastermind AI where the computer is very smart and could do with some advise on how to code this in java i.e using arrays and linked lists....i am also new to AI and could do with some advice.

when you start coding it maybe ask more specific questions about arrays etc. i have looked into how to solve mastermind, wikipedia has some methods ( one or two not sure) on how to through an algorithm to solve mastermind. google wikipedia mastermind maybe.

Another possiblity is ( i dont know if this meets project specs) just have the computer choose the masterboard, then have the human make the guesses and score it.

Mike

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.