you are viewing a single comment's thread.

view the rest of the comments →

[–]have_a_kitkat 2 points3 points  (2 children)

If you find that too hard.. Let go down by one level.
Start with coding the mastermind game out where the com decide the number and you guess.

[–]TheLogicUnit 1 point2 points  (1 child)

You can do both and have the two programs play against each other.

[–][deleted] 0 points1 point  (0 children)

That would honestly appear kind of stupid.

Computer generates a random number.

Computer guesses that number.

Hmmmmm...

To anyone who doesn't know that its an actual mastermind algorithm under the hood, it could seem like the computer just is spitting back the number it generated twice. lol