jopezu |
bread-train
|
|
|
Reged: 09/21/03
|
Posts: 5500
|
Loc: georgia
|
|
Send PM
|
|
|
yeh RIGHT!
#248413 - 03/09/11 05:16 PM
|
|
|
|
|
Re: yeh RIGHT!
[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."
|
|
|
italie |
MAME owes italie many thank yous, hah
|
|
|
Reged: 09/20/03
|
Posts: 15246
|
Loc: BoomTown
|
|
Send PM
|
|
|
Re: yeh RIGHT!
[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!
|
|
|
|
|
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]
|
|
|
|
Re: yeh RIGHT!
[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.
|
|
|