aromatt / pushfour-rust

Minimax Pushfour bot
0 stars 1 forks source link

When the bot makes blatantly wrong choices #1

Open aromatt opened 8 years ago

aromatt commented 8 years ago
# Depth:7, should have moved 1:0, moved 1:2
Board state: 
+ 0 1 2 3 4 5 6 7 
0 - - - - r - - r 
1 - - - # r b r - 
2 b b - - - - - - 
3 r # b - - - - - 
4 - - - b # - - r 
5 - - - - - - b r 
6 - - - - r b b b 
7 - - - - r b b r 
Turn: Player Red
acowinthecrowd commented 8 years ago
Board state: 
+ 0 1 2 3 4 5 6 7 
0 - - - - - b r r 
1 - r r # - - - - 
2 - r b - - - - - 
3 b # b b - - - - 
4 - - b b # - - - 
5 - - - - r - - b 
6 - - - - - - - - 
7 - r b - - r - - 
Turn: Player Red 

Should've had gone 2:3 to avoid the winning state:
Board state: 
+ 0 1 2 3 4 5 6 7 
0 - - - - - b r r 
1 r r r # - - - - 
2 - r b b - - - - 
3 b # b b - - - - 
4 - - b b # - - - 
5 - - - - r - - b 
6 - - - - - - - - 
7 - r b - - r - - 
Turn: Player Red 

on this turn, instead of blocking, he went somewhere else. Final state:
Board state: 
+ 0 1 2 3 4 5 6 7 
0 - - - r - b r r 
1 r r r # - - - - 
2 - r b b - - - - 
3 b # b b - - - - 
4 - - b b # - - - 
5 - - - b r - - b 
6 - - - - - - - - 
7 - r b - - r - - 
Turn: Player Red 

You win! 

This final state may not be an error necessarily since placing the block would also have set me up for the win.
aromatt commented 8 years ago
Board state: 
+ 0 1 2 3 4 5 6 7 
0 - - - b r r r b 
1 - - r # - r r - 
2 r b b b - b r - 
3 - # b b - - b - 
4 - - b r # - - - 
5 - b r - - - - - 
6 r b - - - - - - 
7 - - - - - - - - 
Turn: Player Red 

Could have won at 3:7

acowinthecrowd commented 8 years ago
acowinthecrowd08:21:56 AM

ok so you can queue up moves 
but
jubbot08:22:05 AM

acowinthecrowd: 
New state: 
+ 0 1 2 3 4 5 6 7 
0 - - - - - - - - 
1 - # - - - - - - 
2 - - - - - - - - 
3 - - # - - # - r 
4 - - - - - - - r 
5 - - - - - - - r 
6 - - - - - - - - 
7 - - - b b r b b 
jubbot08:22:05 AM

acowinthecrowd: 
Turn: Player Blue 
acowinthecrowd08:22:16 AM

but they can become invalid 
and I've lost by the way 
jubbot: pushfour 1:0
jubbot08:22:30 AM

acowinthecrowd: 
Board state: 
+ 0 1 2 3 4 5 6 7 
0 - - - - - - - - 
1 b # - - - - - - 
2 - - - - - - - - 
3 - - # - - # - r 
4 - - - - - - - r 
5 - - - - - - - r 
6 - - - - - - - - 
7 - - - b b r b b 
Turn: Player Red 
jubbot08:22:32 AM

acowinthecrowd: 
New state: 
+ 0 1 2 3 4 5 6 7 
0 - - - - - - - - 
1 b # - - - - - - 
2 - - - - - - - - 
3 - - # - - # - r 
4 - - - - - - - r 
5 - - - - - - - r 
6 - - - - - - r - 
7 - - - b b r b b 
jubbot08:22:32 AM

acowinthecrowd: 
Turn: Player Blue 
acowinthecrowd08:22:36 AM

uh
jeskaeli08:23:42 AM

he gotcha
acowinthecrowd08:23:52 AM

yeah but he's just toying with me
jeskaeli08:23:58 AM

hahah
jubbot08:24:16 AM

jeskaeli started "Tengen Toppa Gurren Lagann 1 Opening"
jeskaeli08:24:23 AM

yeah...
acowinthecrowd08:25:43 AM

jubbot: pushfour 7:2
jubbot08:25:43 AM

acowinthecrowd: 
Board state: 
+ 0 1 2 3 4 5 6 7 
0 - - - - - - - - 
1 b # - - - - - - 
2 - - - - - - - - 
3 - - # - - # - r 
4 - - - - - - - r 
5 - - - - - - - r 
6 - - - - - - r - 
7 - - b b b r b b 
Turn: Player Red 
jubbot08:25:45 AM

acowinthecrowd: 
New state: 
+ 0 1 2 3 4 5 6 7 
0 - - - - - - - - 
1 b # - - - - - - 
2 - - - - - - - - 
3 - - # - - # - r 
4 - - - - - - - r 
5 - - - - - - - r 
6 - - - - - - r - 
7 - r b b b r b b 
jubbot08:25:45 AM

acowinthecrowd: 
Turn: Player Blue 
jubbot08:25:47 AM

jeskaeli started "Boku Dake ga Inai Machi OP / Opening :Re"
acowinthecrowd08:25:59 AM

jubbot: pushfour 2:0
jubbot08:25:59 AM

acowinthecrowd: 
Board state: 
+ 0 1 2 3 4 5 6 7 
0 - - - - - - - - 
1 b # - - - - - - 
2 b - - - - - - - 
3 - - # - - # - r 
4 - - - - - - - r 
5 - - - - - - - r 
6 - - - - - - r - 
7 - r b b b r b b 
Turn: Player Red 
jubbot08:26:01 AM

acowinthecrowd: 
New state: 
+ 0 1 2 3 4 5 6 7 
0 r - - - - - - - 
1 b # - - - - - - 
2 b - - - - - - - 
3 - - # - - # - r 
4 - - - - - - - r 
5 - - - - - - - r 
6 - - - - - - r - 
7 - r b b b r b b 
jubbot08:26:01 AM

acowinthecrowd: 
Turn: Player Blue 
acowinthecrowd08:26:15 AM

jubbot: pushfour 3:1
jubbot08:26:15 AM

acowinthecrowd: 
Board state: 
+ 0 1 2 3 4 5 6 7 
0 r - - - - - - - 
1 b # - - - - - - 
2 b - - - - - - - 
3 - b # - - # - r 
4 - - - - - - - r 
5 - - - - - - - r 
6 - - - - - - r - 
7 - r b b b r b b 
Turn: Player Red 
jubbot08:26:16 AM

acowinthecrowd: 
New state: 
+ 0 1 2 3 4 5 6 7 
0 r - - - - - - - 
1 b # - - - - - - 
2 b - - - - r - - 
3 - b # - - # - r 
4 - - - - - - - r 
5 - - - - - - - r 
6 - - - - - - r - 
7 - r b b b r b b 
jubbot08:26:16 AM

acowinthecrowd: 
Turn: Player Blue 
acowinthecrowd08:26:39 AM

jubbot: pushfour 2:2
jubbot08:26:39 AM

acowinthecrowd: 
Board state: 
+ 0 1 2 3 4 5 6 7 
0 r - - - - - - - 
1 b # - - - - - - 
2 b - b - - r - - 
3 - b # - - # - r 
4 - - - - - - - r 
5 - - - - - - - r 
6 - - - - - - r - 
7 - r b b b r b b 
Turn: Player Red 
jubbot08:26:39 AM

acowinthecrowd: 
New state: 
+ 0 1 2 3 4 5 6 7 
0 r - - - - - - - 
1 b # - - - - - - 
2 b - b - - r - - 
3 - b # - - # - r 
4 - - - - - - - r 
5 - - - - - - - r 
6 - - - - - - r r 
7 - r b b b r b b 
jubbot08:26:39 AM

acowinthecrowd: 
Turn: Player Blue 
jubbot08:26:39 AM

acowinthecrowd: 

I win! 

acowinthecrowd08:26:45 AM

There he finally saw it