Move 1, valekda3 is playing.. Cards available to valekda3 Player valekda3 returned [16, 16, [[1, 2, 1, 4], [2, 2, 1, 1], [1, 1, 2, 2], [4, 1, 2, 1]]] in 0.314 ms Player valekda3 old score 0, gained 0, new score 0 |
Move 2, nalevvoj is playing.. Cards available to nalevvoj Player nalevvoj returned [12, 13, [[1, 2, 1, 3], [2, 2, 1, 1], [1, 1, 2, 2], [3, 1, 2, 1]]] in 2.050 ms Player nalevvoj old score 0, gained 2, new score 2 |
Move 3, valekda3 is playing.. Cards available to valekda3 play() took 3.000s which is more than allowed timeout 1.7s Traceback (most recent call last): File "game.py", line 396, in oneMove player.py", line 235, in play delka = self.Search(boardcopy,position,card) player.py", line 169, in Search num,v = self.DFS(bcopy,bcopy[x+i][y+j],[],[[x+i,y+j]],0) player.py", line 145, in DFS return self.DFS(bcopy,target,visited,newstack,num) player.py", line 137, in DFS x = i[0]+j[0] File "game.py", line 242, in handler TimeException: TimeOut Error occured in situation: self.tournament = True self.timeout = 1.7 self.boardRows = 33 self.boardCols = 33 self.cardsOnDesk = [[16, 16, [[1, 2, 1, 4], [2, 2, 1, 1], [1, 1, 2, 2], [4, 1, 2, 1]]], [12, 13, [[1, 2, 1, 3], [2, 2, 1, 1], [1, 1, 2, 2], [3, 1, 2, 1]]]] self.cardsAtHand = [[[1, 3, 1, 4, 2], [3, 3, 1, 4, 4], [4, 3, 1, 4, 3]], [[3, 2, 3, 1], [2, 2, 3, 3], [3, 3, 2, 2], [1, 3, 2, 3]], [[1, 4, 1, 2, 3], [4, 4, 1, 2, 2], [2, 4, 1, 2, 4]], [[2, 1, 2, 4, 3], [1, 1, 2, 4, 4], [4, 1, 2, 4, 1]], [[3, 1, 3, 2, 4], [1, 1, 3, 2, 2], [2, 1, 3, 2, 1]], [[2, 1, 2, 3], [1, 1, 2, 2], [2, 2, 1, 1], [3, 2, 1, 2]], [[3, 1, 3, 4, 2], [1, 1, 3, 4, 4], [4, 1, 3, 4, 1]], [[4, 2, 4, 1], [2, 2, 4, 4], [4, 4, 2, 2], [1, 4, 2, 4]], [[4, 3, 4, 2, 1], [3, 3, 4, 2, 2], [2, 3, 4, 2, 3]], [[4, 1, 4, 3, 2], [1, 1, 4, 3, 3], [3, 1, 4, 3, 1]], [[2, 3, 2, 1, 4], [3, 3, 2, 1, 1], [1, 3, 2, 1, 3]], [[4, 1, 4, 2, 3], [1, 1, 4, 2, 2], [2, 1, 4, 2, 1]], [[2, 4, 2, 3, 1], [4, 4, 2, 3, 3], [3, 4, 2, 3, 4]], [[3, 4, 3, 1], [4, 4, 3, 3], [3, 3, 4, 4], [1, 3, 4, 3]], [[1, 4, 1, 3], [4, 4, 1, 1], [1, 1, 4, 4], [3, 1, 4, 1]], [[1, 2, 1, 4, 3], [2, 2, 1, 4, 4], [4, 2, 1, 4, 2]], [[3, 4, 3, 2, 1], [4, 4, 3, 2, 2], [2, 4, 3, 2, 4]], [[3, 2, 3, 1, 4], [2, 2, 3, 1, 1], [1, 2, 3, 1, 2]], [[2, 4, 2, 1], [4, 4, 2, 2], [2, 2, 4, 4], [1, 2, 4, 2]], [[2, 3, 2, 4], [3, 3, 2, 2], [2, 2, 3, 3], [4, 2, 3, 2]], [[1, 3, 1, 2, 4], [3, 3, 1, 2, 2], [2, 3, 1, 2, 3]], [[3, 1, 3, 2], [1, 1, 3, 3], [3, 3, 1, 1], [2, 3, 1, 3]], [[1, 2, 1, 3], [2, 2, 1, 1], [1, 1, 2, 2], [3, 1, 2, 1]]] #only available cards are reported |