Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Rock, Paper, Scissors

by Boldra (Deacon)
on Mar 23, 2001 at 18:32 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2023-02-05 11:13 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (31 votes). Check out past polls.