Move 1, filajan1 is playing.. Cards available to filajan1 Player filajan1 returned [0, 0, [[3, 1, 3, 4], [1, 1, 3, 3], [3, 3, 1, 1], [4, 3, 1, 3]]] in 4.282 ms Player filajan1 old score 0, gained 0, new score 0 |
Move 2, hanykrom is playing.. Cards available to hanykrom Player hanykrom returned [4, 0, [[3, 1, 3, 4], [1, 1, 3, 3], [3, 3, 1, 1], [4, 3, 1, 3]]] in 2.699 ms Player hanykrom old score 0, gained 0, new score 0 |
Move 3, filajan1 is playing.. Cards available to filajan1 Player filajan1 returned [3, 4, [[2, 4, 1], [4, 4, 4], [3, 3, 3], [1, 1, 1], [3, 1, 4]]] in 449.625 ms Player filajan1 old score 0, gained 20, new score 20 |
Move 4, hanykrom is playing.. Cards available to hanykrom Traceback (most recent call last): File "game.py", line 396, in oneMove player.py", line 141, in play resTemp = find_place(card,len(card),len(card[0]), self.cardsOnDesk, gameBoard) player.py", line 124, in find_place if cardsOnDesk[i][0] + j >= 0 and is_place(cardsOnDesk[i][0] + j, cardsOnDesk[i][1] + len(cardsOnDesk[i][2][0]), Row, Col, gameBoard): player.py", line 88, in is_place if posColumn + i >= len(gameBoard[0]) or gameBoard[posRow][posColumn + i] > -Rows: TypeError: '>' not supported between instances of 'str' and 'int' Error occured in situation: self.tournament = True self.timeout = 1.7 self.boardRows = 33 self.boardCols = 33 self.cardsOnDesk = [[0, 0, [[3, 1, 3, 4], [1, 1, 3, 3], [3, 3, 1, 1], [4, 3, 1, 3]]], [4, 0, [[3, 1, 3, 4], [1, 1, 3, 3], [3, 3, 1, 1], [4, 3, 1, 3]]], [3, 4, [[2, 4, 1], [4, 4, 4], [3, 3, 3], [1, 1, 1], [3, 1, 4]]]] self.cardsAtHand = [[[2, 4, 2, 3], [4, 4, 2, 2], [2, 2, 4, 4], [3, 2, 4, 2]], [[2, 3, 2, 1, 4], [3, 3, 2, 1, 1], [1, 3, 2, 1, 3]], [[4, 3, 4, 1, 2], [3, 3, 4, 1, 1], [1, 3, 4, 1, 3]], [[1, 4, 1, 3, 2], [4, 4, 1, 3, 3], [3, 4, 1, 3, 4]], [[2, 4, 2, 1], [4, 4, 2, 2], [2, 2, 4, 4], [1, 2, 4, 2]], [[4, 2, 4, 3, 1], [2, 2, 4, 3, 3], [3, 2, 4, 3, 2]], [[4, 3, 4, 2, 1], [3, 3, 4, 2, 2], [2, 3, 4, 2, 3]], [[4, 3, 4, 2], [3, 3, 4, 4], [4, 4, 3, 3], [2, 4, 3, 4]], [[3, 2, 3, 1], [2, 2, 3, 3], [3, 3, 2, 2], [1, 3, 2, 3]], [[4, 1, 4, 2], [1, 1, 4, 4], [4, 4, 1, 1], [2, 4, 1, 4]], [[2, 1, 2, 3], [1, 1, 2, 2], [2, 2, 1, 1], [3, 2, 1, 2]], [[2, 3, 2, 4, 1], [3, 3, 2, 4, 4], [4, 3, 2, 4, 3]], [[1, 2, 1, 3], [2, 2, 1, 1], [1, 1, 2, 2], [3, 1, 2, 1]], [[1, 3, 1, 2, 4], [3, 3, 1, 2, 2], [2, 3, 1, 2, 3]], [[3, 4, 3, 2], [4, 4, 3, 3], [3, 3, 4, 4], [2, 3, 4, 3]], [[2, 3, 2, 4], [3, 3, 2, 2], [2, 2, 3, 3], [4, 2, 3, 2]], [[2, 1, 2, 3, 4], [1, 1, 2, 3, 3], [3, 1, 2, 3, 1]], [[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]], [[1, 3, 1, 4, 2], [3, 3, 1, 4, 4], [4, 3, 1, 4, 3]], [[3, 1, 3, 2], [1, 1, 3, 3], [3, 3, 1, 1], [2, 3, 1, 3]], [[1, 4, 1, 3], [4, 4, 1, 1], [1, 1, 4, 4], [3, 1, 4, 1]], [[4, 1, 4, 3, 2], [1, 1, 4, 3, 3], [3, 1, 4, 3, 1]]] #only available cards are reported |