Player 1 (): Nearest v5.js
vs
Player 2 (): First attempt.js

backpauseplayforward
[ [ [8,1], // coordinates player 1 [8,1], // coordinates player 2 [0.0,0.0,0.0,0.0,0.0], // item count player 1 [0.0,0.0,0.0,0.0,0.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5.35..4", "..4.........2.", "..5........4..", "....5.......5.", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [9,1], // coordinates player 1 [9,1], // coordinates player 2 [0.0,0.0,0.0,0.0,0.0], // item count player 1 [0.0,0.0,0.0,0.0,0.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5.35..4", "..4.........2.", "..5........4..", "....5.......5.", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [9,1], // coordinates player 1 [9,1], // coordinates player 2 [0.0,0.0,0.5,0.0,0.0], // item count player 1 [0.0,0.0,0.5,0.0,0.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5..5..4", "..4.........2.", "..5........4..", "....5.......5.", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [10,1], // coordinates player 1 [9,2], // coordinates player 2 [0.0,0.0,0.5,0.0,0.0], // item count player 1 [0.0,0.0,0.5,0.0,0.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5..5..4", "..4.........2.", "..5........4..", "....5.......5.", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [10,1], // coordinates player 1 [10,2], // coordinates player 2 [0.0,0.0,0.5,0.0,1.0], // item count player 1 [0.0,0.0,0.5,0.0,0.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5.....4", "..4.........2.", "..5........4..", "....5.......5.", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [11,1], // coordinates player 1 [11,2], // coordinates player 2 [0.0,0.0,0.5,0.0,1.0], // item count player 1 [0.0,0.0,0.5,0.0,0.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5.....4", "..4.........2.", "..5........4..", "....5.......5.", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [12,1], // coordinates player 1 [12,2], // coordinates player 2 [0.0,0.0,0.5,0.0,1.0], // item count player 1 [0.0,0.0,0.5,0.0,0.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5.....4", "..4.........2.", "..5........4..", "....5.......5.", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [13,1], // coordinates player 1 [12,2], // coordinates player 2 [0.0,0.0,0.5,0.0,1.0], // item count player 1 [0.0,1.0,0.5,0.0,0.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5.....4", "..4...........", "..5........4..", "....5.......5.", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [13,1], // coordinates player 1 [12,3], // coordinates player 2 [0.0,0.0,0.5,1.0,1.0], // item count player 1 [0.0,1.0,0.5,0.0,0.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5......", "..4...........", "..5........4..", "....5.......5.", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [13,2], // coordinates player 1 [12,4], // coordinates player 2 [0.0,0.0,0.5,1.0,1.0], // item count player 1 [0.0,1.0,0.5,0.0,0.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5......", "..4...........", "..5........4..", "....5.......5.", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [13,3], // coordinates player 1 [12,4], // coordinates player 2 [0.0,0.0,0.5,1.0,1.0], // item count player 1 [0.0,1.0,0.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5......", "..4...........", "..5........4..", "....5.........", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [12,3], // coordinates player 1 [12,5], // coordinates player 2 [0.0,0.0,0.5,1.0,1.0], // item count player 1 [0.0,1.0,0.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5......", "..4...........", "..5........4..", "....5.........", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [11,3], // coordinates player 1 [12,6], // coordinates player 2 [0.0,0.0,0.5,1.0,1.0], // item count player 1 [0.0,1.0,0.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5......", "..4...........", "..5........4..", "....5.........", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [11,3], // coordinates player 1 [12,7], // coordinates player 2 [0.0,0.0,0.5,2.0,1.0], // item count player 1 [0.0,1.0,0.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5......", "..4...........", "..5...........", "....5.........", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [11,2], // coordinates player 1 [11,7], // coordinates player 2 [0.0,0.0,0.5,2.0,1.0], // item count player 1 [0.0,1.0,0.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5......", "..4...........", "..5...........", "....5.........", "...4..........", "..............", ".........2.3..", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [11,1], // coordinates player 1 [11,7], // coordinates player 2 [0.0,0.0,0.5,2.0,1.0], // item count player 1 [0.0,1.0,1.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5......", "..4...........", "..5...........", "....5.........", "...4..........", "..............", ".........2....", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [10,1], // coordinates player 1 [10,7], // coordinates player 2 [0.0,0.0,0.5,2.0,1.0], // item count player 1 [0.0,1.0,1.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5......", "..4...........", "..5...........", "....5.........", "...4..........", "..............", ".........2....", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [9,1], // coordinates player 1 [9,7], // coordinates player 2 [0.0,0.0,0.5,2.0,1.0], // item count player 1 [0.0,1.0,1.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5......", "..4...........", "..5...........", "....5.........", "...4..........", "..............", ".........2....", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [8,1], // coordinates player 1 [9,7], // coordinates player 2 [0.0,0.0,0.5,2.0,1.0], // item count player 1 [0.0,2.0,1.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5......", "..4...........", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [7,1], // coordinates player 1 [9,8], // coordinates player 2 [0.0,0.0,0.5,2.0,1.0], // item count player 1 [0.0,2.0,1.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5.....5......", "..4...........", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [7,1], // coordinates player 1 [9,9], // coordinates player 2 [0.0,0.0,0.5,2.0,2.0], // item count player 1 [0.0,2.0,1.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5............", "..4...........", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [6,1], // coordinates player 1 [9,10], // coordinates player 2 [0.0,0.0,0.5,2.0,2.0], // item count player 1 [0.0,2.0,1.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5............", "..4...........", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [5,1], // coordinates player 1 [10,10], // coordinates player 2 [0.0,0.0,0.5,2.0,2.0], // item count player 1 [0.0,2.0,1.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5............", "..4...........", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [4,1], // coordinates player 1 [11,10], // coordinates player 2 [0.0,0.0,0.5,2.0,2.0], // item count player 1 [0.0,2.0,1.5,0.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5............", "..4...........", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3....4..", "...........2..", "5...3...4.4..1", ".......5......", ], [ [3,1], // coordinates player 1 [11,10], // coordinates player 2 [0.0,0.0,0.5,2.0,2.0], // item count player 1 [0.0,2.0,1.5,1.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5............", "..4...........", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3...4.4..1", ".......5......", ], [ [2,1], // coordinates player 1 [10,10], // coordinates player 2 [0.0,0.0,0.5,2.0,2.0], // item count player 1 [0.0,2.0,1.5,1.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5............", "..4...........", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3...4.4..1", ".......5......", ], [ [1,1], // coordinates player 1 [10,11], // coordinates player 2 [0.0,0.0,0.5,2.0,2.0], // item count player 1 [0.0,2.0,1.5,1.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", ".5............", "..4...........", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3...4.4..1", ".......5......", ], [ [1,1], // coordinates player 1 [10,12], // coordinates player 2 [0.0,0.0,0.5,2.0,3.0], // item count player 1 [0.0,2.0,1.5,1.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..4...........", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3...4.4..1", ".......5......", ], [ [2,1], // coordinates player 1 [10,12], // coordinates player 2 [0.0,0.0,0.5,2.0,3.0], // item count player 1 [0.0,2.0,1.5,2.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..4...........", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3...4....1", ".......5......", ], [ [2,2], // coordinates player 1 [9,12], // coordinates player 2 [0.0,0.0,0.5,2.0,3.0], // item count player 1 [0.0,2.0,1.5,2.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..4...........", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3...4....1", ".......5......", ], [ [2,2], // coordinates player 1 [8,12], // coordinates player 2 [0.0,0.0,0.5,3.0,3.0], // item count player 1 [0.0,2.0,1.5,2.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3...4....1", ".......5......", ], [ [2,3], // coordinates player 1 [8,12], // coordinates player 2 [0.0,0.0,0.5,3.0,3.0], // item count player 1 [0.0,2.0,1.5,3.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..5...........", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3........1", ".......5......", ], [ [2,3], // coordinates player 1 [8,13], // coordinates player 2 [0.0,0.0,0.5,3.0,4.0], // item count player 1 [0.0,2.0,1.5,3.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3........1", ".......5......", ], [ [3,3], // coordinates player 1 [7,13], // coordinates player 2 [0.0,0.0,0.5,3.0,4.0], // item count player 1 [0.0,2.0,1.5,3.0,1.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3........1", ".......5......", ], [ [4,3], // coordinates player 1 [7,13], // coordinates player 2 [0.0,0.0,0.5,3.0,4.0], // item count player 1 [0.0,2.0,1.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3........1", "..............", ], [ [4,4], // coordinates player 1 [7,12], // coordinates player 2 [0.0,0.0,0.5,3.0,4.0], // item count player 1 [0.0,2.0,1.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "....5.........", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3........1", "..............", ], [ [4,4], // coordinates player 1 [7,11], // coordinates player 2 [0.0,0.0,0.5,3.0,5.0], // item count player 1 [0.0,2.0,1.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3........1", "..............", ], [ [4,5], // coordinates player 1 [7,10], // coordinates player 2 [0.0,0.0,0.5,3.0,5.0], // item count player 1 [0.0,2.0,1.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3........1", "..............", ], [ [3,5], // coordinates player 1 [6,10], // coordinates player 2 [0.0,0.0,0.5,3.0,5.0], // item count player 1 [0.0,2.0,1.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "...4..........", "..............", "..............", ".............5", ".....3........", "......3.......", "...........2..", "5...3........1", "..............", ], [ [3,5], // coordinates player 1 [6,10], // coordinates player 2 [0.0,0.0,0.5,4.0,5.0], // item count player 1 [0.0,2.0,2.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "..............", "..............", "..............", ".............5", ".....3........", "..............", "...........2..", "5...3........1", "..............", ], [ [4,5], // coordinates player 1 [6,11], // coordinates player 2 [0.0,0.0,0.5,4.0,5.0], // item count player 1 [0.0,2.0,2.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "..............", "..............", "..............", ".............5", ".....3........", "..............", "...........2..", "5...3........1", "..............", ], [ [5,5], // coordinates player 1 [6,12], // coordinates player 2 [0.0,0.0,0.5,4.0,5.0], // item count player 1 [0.0,2.0,2.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "..............", "..............", "..............", ".............5", ".....3........", "..............", "...........2..", "5...3........1", "..............", ], [ [5,6], // coordinates player 1 [7,12], // coordinates player 2 [0.0,0.0,0.5,4.0,5.0], // item count player 1 [0.0,2.0,2.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "..............", "..............", "..............", ".............5", ".....3........", "..............", "...........2..", "5...3........1", "..............", ], [ [5,7], // coordinates player 1 [8,12], // coordinates player 2 [0.0,0.0,0.5,4.0,5.0], // item count player 1 [0.0,2.0,2.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "..............", "..............", "..............", ".............5", ".....3........", "..............", "...........2..", "5...3........1", "..............", ], [ [5,8], // coordinates player 1 [9,12], // coordinates player 2 [0.0,0.0,0.5,4.0,5.0], // item count player 1 [0.0,2.0,2.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "..............", "..............", "..............", ".............5", ".....3........", "..............", "...........2..", "5...3........1", "..............", ], [ [5,9], // coordinates player 1 [10,12], // coordinates player 2 [0.0,0.0,0.5,4.0,5.0], // item count player 1 [0.0,2.0,2.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "..............", "..............", "..............", ".............5", ".....3........", "..............", "...........2..", "5...3........1", "..............", ], [ [5,9], // coordinates player 1 [11,12], // coordinates player 2 [0.0,0.0,1.5,4.0,5.0], // item count player 1 [0.0,2.0,2.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "..............", "..............", "..............", ".............5", "..............", "..............", "...........2..", "5...3........1", "..............", ], [ [5,10], // coordinates player 1 [12,12], // coordinates player 2 [0.0,0.0,1.5,4.0,5.0], // item count player 1 [0.0,2.0,2.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "..............", "..............", "..............", ".............5", "..............", "..............", "...........2..", "5...3........1", "..............", ], [ [5,11], // coordinates player 1 [13,12], // coordinates player 2 [0.0,0.0,1.5,4.0,5.0], // item count player 1 [0.0,2.0,2.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "..............", "..............", "..............", ".............5", "..............", "..............", "...........2..", "5...3........1", "..............", ], [ [5,12], // coordinates player 1 [13,12], // coordinates player 2 [0.0,0.0,1.5,4.0,5.0], // item count player 1 [1.0,2.0,2.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "..............", "..............", "..............", ".............5", "..............", "..............", "...........2..", "5...3.........", "..............", ], [ [5,12], // coordinates player 1 [13,12], // coordinates player 2 [0.0,0.0,1.5,4.0,5.0], // item count player 1 [1.0,2.0,2.5,3.0,2.0], // item count player 2 [1,3,5,7,9], // item count in total (constant) "..............", "..............", "..............", "..............", "..............", "..............", "..............", "..............", ".............5", "..............", "..............", "...........2..", "5...3.........", "..............", ], ["player 1 wins (opponent return no move or an invalid move)"] ]