Move 1, vosahda2 is playing.. Cards available to vosahda2 Player vosahda2 returned [16, 16, [[1, 3, 1, 4, 2], [3, 3, 1, 4, 4], [4, 3, 1, 4, 3]]] in 0.044 ms Player vosahda2 old score 0, gained 0, new score 0 |
Move 2, samsajan is playing.. Cards available to samsajan Player samsajan returned [13, 17, [[4, 1, 4, 2, 3], [1, 1, 4, 2, 2], [2, 1, 4, 2, 1]]] in 970.428 ms Player samsajan old score 0, gained 19, new score 19 |
Move 3, vosahda2 is playing.. Cards available to vosahda2 Player vosahda2 returned [19, 15, [[1, 4, 3, 1, 4], [4, 4, 3, 1, 1], [2, 4, 3, 1, 3]]] in 1108.904 ms Player vosahda2 old score 0, gained 31, new score 31 |
Move 4, samsajan is playing.. Cards available to samsajan Traceback (most recent call last): File "game.py", line 396, in oneMove player.py", line 221, in play currentBoard = getCardsOnBoard(self.cardsOnDesk,currentBoard) player.py", line 56, in getCardsOnBoard posCol = currentCard[1] IndexError: list index out of range Error occured in situation: self.tournament = True self.timeout = 1.7 self.boardRows = 33 self.boardCols = 33 self.cardsOnDesk = [[16, 16, [[1, 3, 1, 4, 2], [3, 3, 1, 4, 4], [4, 3, 1, 4, 3]]], [13, 17, [[4, 1, 4, 2, 3], [1, 1, 4, 2, 2], [2, 1, 4, 2, 1]]], [19, 15, [[1, 4, 3, 1, 4], [4, 4, 3, 1, 1], [2, 4, 3, 1, 3]]]] 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, 2, 1, 4], [2, 2, 1, 1], [1, 1, 2, 2], [4, 1, 2, 1]], [[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]], [[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 |