MAMEWorld >> The Loony Bin
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

TriggerFin
Gnu Truth
Reged: 09/21/03
Posts: 5266
Loc: Stuck in a hole
Send PM
Re: yeh RIGHT!
03/10/11 02:57 AM


> http://www.nytimes.com/interactive/science/rock-paper-scissors.html
>
>
> the computer outsmarts you the same way that street fighter 2's AI outsmarts you when
> zangief's low roundhouse takes priority over your low jab when the program starts
> controller reading.

It just scans for the what a human player (or the current player, depending) does most often based on the four prior rounds of both players. There are relatively few possible combinations (under 150k, including the first rounds, I think). Each is a variable with the most common next play as the value. Well, three values, tracking the number of responses for each.

That's a ridiculously simple program to write using a single array.

I stopped at 10/12/14, after i looked at what it was "thinking."







Entire thread
Subject Posted by Posted on
* yeh RIGHT! jopezu 03/09/11 05:16 PM
. * Re: yeh RIGHT! Gemini  03/10/11 04:57 AM
. * Re: yeh RIGHT! TriggerFin  03/10/11 02:57 AM
. * Re: yeh RIGHT! italieAdministrator  03/10/11 04:21 AM
. * Re: yeh RIGHT! lharms  03/10/11 04:23 PM

Extra information Permissions
Moderator:  GatKong 
0 registered and 809 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1800