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

backpauseplayforward
[ [ [0,8], // coordinates player 1 [0,8], // coordinates player 2 [0.0,0.0,0.0,0.0], // item count player 1 [0.0,0.0,0.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "....4..........", "........4......", ".....3.........", "...............", ".4......3......", ".....3......4..", "......4...2....", ], [ [1,8], // coordinates player 1 [0,9], // coordinates player 2 [0.0,0.0,0.0,0.0], // item count player 1 [0.0,0.0,0.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "....4..........", "........4......", ".....3.........", "...............", ".4......3......", ".....3......4..", "......4...2....", ], [ [2,8], // coordinates player 1 [0,10], // coordinates player 2 [0.0,0.0,0.0,0.0], // item count player 1 [0.0,0.0,0.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "....4..........", "........4......", ".....3.........", "...............", ".4......3......", ".....3......4..", "......4...2....", ], [ [3,8], // coordinates player 1 [1,10], // coordinates player 2 [0.0,0.0,0.0,0.0], // item count player 1 [0.0,0.0,0.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "....4..........", "........4......", ".....3.........", "...............", ".4......3......", ".....3......4..", "......4...2....", ], [ [4,8], // coordinates player 1 [2,10], // coordinates player 2 [0.0,0.0,0.0,0.0], // item count player 1 [0.0,0.0,0.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "....4..........", "........4......", ".....3.........", "...............", ".4......3......", ".....3......4..", "......4...2....", ], [ [4,8], // coordinates player 1 [3,10], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,0.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", ".....3.........", "...............", ".4......3......", ".....3......4..", "......4...2....", ], [ [5,8], // coordinates player 1 [4,10], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,0.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", ".....3.........", "...............", ".4......3......", ".....3......4..", "......4...2....", ], [ [5,9], // coordinates player 1 [5,10], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,0.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", ".....3.........", "...............", ".4......3......", ".....3......4..", "......4...2....", ], [ [5,10], // coordinates player 1 [5,10], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,1.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4......3......", ".....3......4..", "......4...2....", ], [ [5,9], // coordinates player 1 [5,11], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,1.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4......3......", ".....3......4..", "......4...2....", ], [ [5,8], // coordinates player 1 [5,12], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,1.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4......3......", ".....3......4..", "......4...2....", ], [ [5,7], // coordinates player 1 [5,13], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,1.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4......3......", ".....3......4..", "......4...2....", ], [ [5,6], // coordinates player 1 [5,13], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,2.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4......3......", "............4..", "......4...2....", ], [ [5,5], // coordinates player 1 [5,12], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,2.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4......3......", "............4..", "......4...2....", ], [ [5,4], // coordinates player 1 [6,12], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,2.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4......3......", "............4..", "......4...2....", ], [ [5,3], // coordinates player 1 [7,12], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,2.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4......3......", "............4..", "......4...2....", ], [ [5,2], // coordinates player 1 [8,12], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,2.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4......3......", "............4..", "......4...2....", ], [ [4,2], // coordinates player 1 [8,12], // coordinates player 2 [0.0,0.0,0.0,1.0], // item count player 1 [0.0,0.0,3.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "....2.....3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [4,2], // coordinates player 1 [8,11], // coordinates player 2 [0.0,1.0,0.0,1.0], // item count player 1 [0.0,0.0,3.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [5,2], // coordinates player 1 [8,10], // coordinates player 2 [0.0,1.0,0.0,1.0], // item count player 1 [0.0,0.0,3.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [6,2], // coordinates player 1 [8,9], // coordinates player 2 [0.0,1.0,0.0,1.0], // item count player 1 [0.0,0.0,3.0,0.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "........4......", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [6,1], // coordinates player 1 [8,9], // coordinates player 2 [0.0,1.0,0.0,1.0], // item count player 1 [0.0,0.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [6,0], // coordinates player 1 [8,8], // coordinates player 2 [0.0,1.0,0.0,1.0], // item count player 1 [0.0,0.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [5,0], // coordinates player 1 [8,7], // coordinates player 2 [0.0,1.0,0.0,1.0], // item count player 1 [0.0,0.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [4,0], // coordinates player 1 [9,7], // coordinates player 2 [0.0,1.0,0.0,1.0], // item count player 1 [0.0,0.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [3,0], // coordinates player 1 [10,7], // coordinates player 2 [0.0,1.0,0.0,1.0], // item count player 1 [0.0,0.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..44...........", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "..........2....", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [3,0], // coordinates player 1 [10,7], // coordinates player 2 [0.0,1.0,0.0,2.0], // item count player 1 [0.0,1.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..4............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [2,0], // coordinates player 1 [10,8], // coordinates player 2 [0.0,1.0,0.0,2.0], // item count player 1 [0.0,1.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "..4............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [2,0], // coordinates player 1 [10,9], // coordinates player 2 [0.0,1.0,0.0,3.0], // item count player 1 [0.0,1.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [3,0], // coordinates player 1 [10,10], // coordinates player 2 [0.0,1.0,0.0,3.0], // item count player 1 [0.0,1.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [4,0], // coordinates player 1 [10,11], // coordinates player 2 [0.0,1.0,0.0,3.0], // item count player 1 [0.0,1.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [5,0], // coordinates player 1 [10,12], // coordinates player 2 [0.0,1.0,0.0,3.0], // item count player 1 [0.0,1.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [6,0], // coordinates player 1 [10,13], // coordinates player 2 [0.0,1.0,0.0,3.0], // item count player 1 [0.0,1.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [7,0], // coordinates player 1 [10,14], // coordinates player 2 [0.0,1.0,0.0,3.0], // item count player 1 [0.0,1.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4...2....", ], [ [8,0], // coordinates player 1 [10,14], // coordinates player 2 [0.0,1.0,0.0,3.0], // item count player 1 [0.0,2.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4........", ], [ [9,0], // coordinates player 1 [10,13], // coordinates player 2 [0.0,1.0,0.0,3.0], // item count player 1 [0.0,2.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4........", ], [ [10,0], // coordinates player 1 [11,13], // coordinates player 2 [0.0,1.0,0.0,3.0], // item count player 1 [0.0,2.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4........", ], [ [10,1], // coordinates player 1 [12,13], // coordinates player 2 [0.0,1.0,0.0,3.0], // item count player 1 [0.0,2.0,3.0,1.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "............4..", "......4........", ], [ [10,2], // coordinates player 1 [12,13], // coordinates player 2 [0.0,1.0,0.0,3.0], // item count player 1 [0.0,2.0,3.0,2.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "..........3....", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "......4........", ], [ [10,2], // coordinates player 1 [12,14], // coordinates player 2 [0.0,1.0,1.0,3.0], // item count player 1 [0.0,2.0,3.0,2.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "...............", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "......4........", ], [ [10,1], // coordinates player 1 [11,14], // coordinates player 2 [0.0,1.0,1.0,3.0], // item count player 1 [0.0,2.0,3.0,2.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "...............", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "......4........", ], [ [11,1], // coordinates player 1 [10,14], // coordinates player 2 [0.0,1.0,1.0,3.0], // item count player 1 [0.0,2.0,3.0,2.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "...............", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "......4........", ], [ [12,1], // coordinates player 1 [9,14], // coordinates player 2 [0.0,1.0,1.0,3.0], // item count player 1 [0.0,2.0,3.0,2.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "...............", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "......4........", ], [ [13,1], // coordinates player 1 [8,14], // coordinates player 2 [0.0,1.0,1.0,3.0], // item count player 1 [0.0,2.0,3.0,2.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", ".............1.", "...............", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "......4........", ], [ [13,1], // coordinates player 1 [7,14], // coordinates player 2 [1.0,1.0,1.0,3.0], // item count player 1 [0.0,2.0,3.0,2.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", "...............", "...............", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "......4........", ], [ [14,1], // coordinates player 1 [6,14], // coordinates player 2 [1.0,1.0,1.0,3.0], // item count player 1 [0.0,2.0,3.0,2.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", "...............", "...............", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "......4........", ], [ [14,2], // coordinates player 1 [6,14], // coordinates player 2 [1.0,1.0,1.0,3.0], // item count player 1 [0.0,2.0,3.0,3.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", "...............", "...............", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "...............", ], [ [14,3], // coordinates player 1 [6,13], // coordinates player 2 [1.0,1.0,1.0,3.0], // item count player 1 [0.0,2.0,3.0,3.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", "...............", "...............", "..............3", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "...............", ], [ [14,3], // coordinates player 1 [6,12], // coordinates player 2 [1.0,1.0,2.0,3.0], // item count player 1 [0.0,2.0,3.0,3.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "...............", ], [ [13,3], // coordinates player 1 [5,12], // coordinates player 2 [1.0,1.0,2.0,3.0], // item count player 1 [0.0,2.0,3.0,3.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "...............", ], [ [12,3], // coordinates player 1 [4,12], // coordinates player 2 [1.0,1.0,2.0,3.0], // item count player 1 [0.0,2.0,3.0,3.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "...............", ], [ [12,4], // coordinates player 1 [3,12], // coordinates player 2 [1.0,1.0,2.0,3.0], // item count player 1 [0.0,2.0,3.0,3.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "...............", ], [ [11,4], // coordinates player 1 [2,12], // coordinates player 2 [1.0,1.0,2.0,3.0], // item count player 1 [0.0,2.0,3.0,3.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "...............", ], [ [11,5], // coordinates player 1 [1,12], // coordinates player 2 [1.0,1.0,2.0,3.0], // item count player 1 [0.0,2.0,3.0,3.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ".4.............", "...............", "...............", ], [ [10,5], // coordinates player 1 [1,12], // coordinates player 2 [1.0,1.0,2.0,3.0], // item count player 1 [0.0,2.0,3.0,4.0], // item count player 2 [1,3,5,7], // item count in total (constant) "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", "...............", ], ["player 2 wins"] ]