acabreragnz / aa-18

Tareas del curso Aprendizaje Automático 2018
1 stars 0 forks source link

Caso borde al generar mejor movimiento #5

Closed brunopk closed 6 years ago

brunopk commented 6 years ago

https://github.com/acabreragnz/aa-18/blob/9fcf14677f3f39b13a32a28538cc16427000b9da/lab1/ej2/src/board.py#L73

Ejemplo:

[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0] 
[2, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 1, 0]
[2, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 2, 0, 0]
[0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 2, 0]
[0, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1]
[0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0]
[2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 1]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0]
[2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 2, 0, 0, 1, 1, 1, 0, 1, 1, 1, 2, 1]
[1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2]
[0, 1, 0, 1, 1, 1, 0, 1, 2, 0, 1, 1, 1, 0, 1]

Ver fila 12 xD

acabreragnz commented 6 years ago

Que paso ahi @brunopk no entendi