Rock-paper-scissors: Difference between revisions
Content added Content deleted
Simple9371 (talk | contribs) m (→{{header|Seed7}}: Changed 'C' to 'Seed7') |
Simple9371 (talk | contribs) m (→{{header|uBasic/4tH}}: Changed 'C' to 'uBasic/4tH') |
||
Line 5,882: | Line 5,882: | ||
This implementation uses a 6-bits binary scheme, where the lower three bits represent the choice of the user and the higher three bits the choice of the computer: |
This implementation uses a 6-bits binary scheme, where the lower three bits represent the choice of the user and the higher three bits the choice of the computer: |
||
{{incorrect| |
{{incorrect|uBasic/4tH|This example does not seem to use the weighted average AI from the task description.}} |
||
<lang> 20 LET P=0: LET Q=0: LET Z=0 |
<lang> 20 LET P=0: LET Q=0: LET Z=0 |