NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Ro Sham Bo

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-23-2004, 12:06 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Sep 2003
Posts: 23
nicora is an unknown quantity at this point
 



Ro Sham Bo


I just developed an AI robot for a client that wanted a Rock Papper Scissors game, would you guys mind testing it's effectiveness? Thanks!

http://www.seemecreate.com/archive/rosham/
nicora is offline  
Old 03-23-2004, 01:23 PM   #2 (permalink)
Senior Member
Join Date: Sep 2003
Location: Tacoma, WA
Posts: 1,212
identity_00 has a spectacular aura aboutidentity_00 has a spectacular aura about
 



doesnt seem very fair.. i got beat. bad. lol
Especially the longer you play.
identity_00 is offline  
Old 03-24-2004, 12:31 AM   #3 (permalink)
NamePros Expert
 
Anthony's Avatar
Join Date: Dec 2003
Location: NYC
Posts: 9,134
Anthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant future
 

Member of the Month
October 2004

I chose ROCK 50 times in a row and got the following results:

CPU: 49
Player: 1

The CPU chose paper almost everytime. Why is that?
Anthony is offline  
Old 03-24-2004, 12:34 AM   #4 (permalink)
Senior Member
Join Date: Sep 2003
Location: Tacoma, WA
Posts: 1,212
identity_00 has a spectacular aura aboutidentity_00 has a spectacular aura about
 



Yea I had similar results when i picked the same thing over and over.
identity_00 is offline  
Old 03-24-2004, 06:41 AM THREAD STARTER               #5 (permalink)
New Member
Join Date: Sep 2003
Posts: 23
nicora is an unknown quantity at this point
 



It learns patterns, if you pick the same thing over and over again, then thats an easy pattern to learn.
nicora is offline  
Old 03-24-2004, 03:57 PM   #6 (permalink)
NamePros Expert
 
Anthony's Avatar
Join Date: Dec 2003
Location: NYC
Posts: 9,134
Anthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant future
 

Member of the Month
October 2004

Quote:
Originally posted by nicora
It learns patterns, if you pick the same thing over and over again, then thats an easy pattern to learn.
Okay, I was wondering if that was what was going on. What kind of backend do you have working there that it can learn patterns?
Anthony is offline  
Old 03-24-2004, 04:27 PM   #7 (permalink)
RJ
NamePros Webmaster


 
RJ's Avatar
Join Date: Feb 2003
Posts: 12,930
RJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatness
 



Find Marrow Donors! Cystic Fibrosis Parkinson's Disease
Real nice. I played it first to fifty and it beat me.

CPU wins = 50
Player win = 46
ties = 53

Player
Rock: 47
Paper: 46
Scissor: 56

CPU
Rock: 46
Paper: 35
Scissor: 68
__________________
@DomainBuyer facebook
RJ is offline  
Old 03-25-2004, 08:07 AM   #8 (permalink)
Senior Member
 
viciouscircle's Avatar
Join Date: Mar 2004
Location: Denton, Texas and Springfield, Virginia
Posts: 1,780
viciouscircle is a splendid one to beholdviciouscircle is a splendid one to beholdviciouscircle is a splendid one to beholdviciouscircle is a splendid one to beholdviciouscircle is a splendid one to beholdviciouscircle is a splendid one to beholdviciouscircle is a splendid one to beholdviciouscircle is a splendid one to behold
 



very nice script. i beat it up to 15, but then it started winning.
viciouscircle is offline  
Old 05-21-2004, 10:33 AM THREAD STARTER               #9 (permalink)
New Member
Join Date: Sep 2003
Posts: 23
nicora is an unknown quantity at this point
 



Quote:
Originally posted by Anthony
Okay, I was wondering if that was what was going on. What kind of backend do you have working there that it can learn patterns?
I'm using ColdFusion, but I guess that doesn't matter much, any server side langauge will do. What the program does is remembers you last 6 moves. Then it stores that as a "combo", it can store up to 30 combos. even turn after the 6th move it references your "combo" against it's library, if it finds a match, it plays the winning move. If it gets behind by more than 3 games, it will go into defense mode and pick attacks randomly.
nicora is offline  
Old 05-21-2004, 01:53 PM   #10 (permalink)
Senior Member
 
Mr. Websites's Avatar
Join Date: May 2004
Location: Toronto
Posts: 2,308
Mr. Websites is a splendid one to beholdMr. Websites is a splendid one to beholdMr. Websites is a splendid one to beholdMr. Websites is a splendid one to beholdMr. Websites is a splendid one to beholdMr. Websites is a splendid one to beholdMr. Websites is a splendid one to beholdMr. Websites is a splendid one to behold
 



Fun game, nice work nicora..
Mr. Websites is offline  
Old 05-31-2004, 10:23 AM   #11 (permalink)
Senior Member
 
matrics's Avatar
Join Date: Apr 2004
Posts: 1,672
matrics is a glorious beacon of lightmatrics is a glorious beacon of lightmatrics is a glorious beacon of lightmatrics is a glorious beacon of lightmatrics is a glorious beacon of lightmatrics is a glorious beacon of lightmatrics is a glorious beacon of lightmatrics is a glorious beacon of light
 



Hmm... I'm not very good at this... I keep loosing
__________________
█ █ █ My T-shirt Addiction!!!
Hero's Gold
matrics is offline  
Old 05-31-2004, 01:51 PM   #12 (permalink)
RJ
NamePros Webmaster


 
RJ's Avatar
Join Date: Feb 2003
Posts: 12,930
RJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatness
 



Find Marrow Donors! Cystic Fibrosis Parkinson's Disease
Quote:
Originally posted by matrics
????: NamePros.com http://www.namepros.com/programming/24450-ro-sham-bo.html
Hmm... I'm not very good at this... I keep loosing
Try this -- take the pattern prediction ability away from it by rolling a die to decide what to choose. Since your own picks will be random, you should win 50% of the time in theory.
__________________
@DomainBuyer facebook
RJ is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 11:37 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger