Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Rock, Paper, Scissors

by Boldra (Deacon)
on Mar 23, 2001 at 18:32 UTC ( [id://66630]=note: print w/replies, xml ) Need Help??


in reply to Rock, Paper, Scissors

I remeber implementing a version of this in basic about ten years ago. What I remember being really fun was telling the program to play itself.

Intitially the two robots played randomly, but then a trend would start to emerge. However, as soon as it did, the feedback would cause the opponent to change his strategy, and the trend would shift or disappear. Gradually the robots learned that there was no 'winning move' and each assigned an equal probability to each move.

I'm sure I was inspired by WOPR's tic-tac-toe game in the classic movie 'Wargames'. Unfortunately, my robots weren't as smart as WOPR, they never realised the sisyphean futility of their game ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://66630]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-26 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found