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

Pages: 1

jopezu
bread-train
Reged: 09/21/03
Posts: 5500
Loc: georgia
Send PM


yeh RIGHT!
#248413 - 03/09/11 05:16 PM


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.



i learned everything i know from KC



TriggerFin
Gnu Truth
Reged: 09/21/03
Posts: 5266
Loc: Stuck in a hole
Send PM


Re: yeh RIGHT! new [Re: jopezu]
#248451 - 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."



italieAdministrator
MAME owes italie many thank yous, hah
Reged: 09/20/03
Posts: 15246
Loc: BoomTown
Send PM


Re: yeh RIGHT! new [Re: TriggerFin]
#248458 - 03/10/11 04:21 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."


18/7/16, before looking at the "what am I thinking" tab. I am smarter than a 'puter....

Whoohoo!



Gemini
Reged: 09/21/03
Posts: 1353
Loc: Georgia
Send PM


Re: yeh RIGHT! new [Re: jopezu]
#248466 - 03/10/11 04:57 AM Attachment: screenshot1-2.png 37 KB (0 downloads)


If I had kept going, I'm sure the computer would've ended up with twice as many wins as me or something like that.

[ATTACHED IMAGE]

Attachment






lharms
MAME Fan
Reged: 01/07/06
Posts: 909
Send PM


Re: yeh RIGHT! new [Re: italie]
#248508 - 03/10/11 04:23 PM


The trick with that game is to be truly random in your picks and you will end up about even on wins/loses.

Most people are not random. We try to assign order to chaos. Given that you can sometimes build something that predicts behavior.


Pages: 1

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

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