Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore 8-bit » "Decode": how to make computer play?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
"Decode": how to make computer play? [message #399961] Sun, 13 September 2020 17:25
Brandon Taylor is currently offline  Brandon Taylor
Messages: 144
Registered: April 2012
Karma: 0
Senior Member
Hi. Here's the BASIC program "Decode" originally written by Tom Rugg and Phil Feldman as part of "More Than 32 BASIC Programs for the Commodore 64 Computer", shown on three pictures which reside on my Google Drive. I'll attach the pictures to the email.

My question is, has someone in the C64 community been able to devise a way to make the C64 guess a secret code chosen by the player, and have the player tell the computer the number of "blacks" (correct number in correct position) and "whites" (correct number in wrong position) after each guess?

Brandon Taylor

Enclosures (3):
https://drive.google.com/file/d/1-I55fYkNKdp2sQJyisIpUcsNXYT qFdzN/view?usp=drivesdk
https://drive.google.com/file/d/1-GPngJMnkls5_NN9lE43xUshHUB NcbxW/view?usp=drivesdk
https://drive.google.com/file/d/1-59qR3ixQW5wNNjqfWaAPiS2lvO rDsuy/view?usp=drivesdk
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: What POKE command in the Commodore C-128 is used?
Next Topic: Next FCUG meeting - Sunday, September 20 (cancelled)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Mar 28 10:21:19 EDT 2024

Total time taken to generate the page: 0.01647 seconds