I am having difficulting creating a Kayles game for java using eclipse. I have all the needed funtions, except for the computer movements, which is what I am having difficulty with.

Any help would be appreciated, I have attached the file to this post.

What do you mean by computer movements? Please be more specific.

Sorry for the vagueness. What I mean by computer movements, are the movements that the computer will make against the player. I was thinking of using the random class in this program, but it is proving to be a little difficult.

Be a part of the DaniWeb community

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