add constants for BFS

This commit is contained in:
matixezor 2021-04-10 12:10:51 +02:00
parent 9123ccf3f9
commit ab447f4594

View File

@ -49,7 +49,6 @@ for name in [
))
DEFAULT_FIELD = [
[1, 3, 4, 5, 0, 1, 2, 3, 2, 0],
[1, 5, 0, 2, 1, 0, 4, 1, 0, 0],
@ -62,3 +61,7 @@ DEFAULT_FIELD = [
[5, 2, 0, 1, 3, 1, 2, 1, 0, 0],
[2, 5, 1, 4, 5, 1, 0, 5, 4, 0],
]
ACTIONS = ()
DIRECTIONS_X = (1, 0, -1, 0)
DIRECTIONS_Y = (0, -1, 0, 1)