Move 1, hanykrom is playing.. Cards available to hanykrom Player hanykrom returned [0, 0, [[1, 3, 1, 4], [3, 3, 1, 1], [1, 1, 3, 3], [4, 1, 3, 1]]] in 0.006 ms Player hanykrom old score 0, gained 0, new score 0 |
Move 2, filajan1 is playing.. Cards available to filajan1 Player filajan1 returned [0, 4, [[4, 1, 3, 1], [1, 1, 3, 3], [3, 3, 1, 1], [1, 3, 1, 4]]] in 81.719 ms Player filajan1 old score 0, gained 16, new score 16 |
Move 3, hanykrom is playing.. Cards available to hanykrom Player hanykrom returned [4, 0, [[2, 3, 2, 1, 4], [3, 3, 2, 1, 1], [1, 3, 2, 1, 3]]] in 0.882 ms Player hanykrom old score 0, gained 6, new score 6 |
Move 4, filajan1 is playing.. Cards available to filajan1 Player filajan1 returned [7, 1, [[3, 2, 1, 3, 2], [2, 2, 1, 3, 3], [4, 2, 1, 3, 1]]] in 151.342 ms Player filajan1 old score 16, gained 26, new score 42 |
Move 5, 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 108, in find_place if cardsOnDesk[i][1] + j >= 0 and is_place(cardsOnDesk[i][0] + len(cardsOnDesk[i][2]), cardsOnDesk[i][1] + j, 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, [[1, 3, 1, 4], [3, 3, 1, 1], [1, 1, 3, 3], [4, 1, 3, 1]]], [0, 4, [[4, 1, 3, 1], [1, 1, 3, 3], [3, 3, 1, 1], [1, 3, 1, 4]]], [4, 0, [[2, 3, 2, 1, 4], [3, 3, 2, 1, 1], [1, 3, 2, 1, 3]]], [7, 1, [[3, 2, 1, 3, 2], [2, 2, 1, 3, 3], [4, 2, 1, 3, 1]]]] self.cardsAtHand = [[[3, 1, 3, 2, 4], [1, 1, 3, 2, 2], [2, 1, 3, 2, 1]], [[1, 3, 1, 2], [3, 3, 1, 1], [1, 1, 3, 3], [2, 1, 3, 1]], [[3, 1, 3, 2], [1, 1, 3, 3], [3, 3, 1, 1], [2, 3, 1, 3]], [[4, 3, 4, 1, 2], [3, 3, 4, 1, 1], [1, 3, 4, 1, 3]], [[2, 1, 2, 4, 3], [1, 1, 2, 4, 4], [4, 1, 2, 4, 1]], [[2, 4, 2, 1, 3], [4, 4, 2, 1, 1], [1, 4, 2, 1, 4]], [[2, 4, 2, 3], [4, 4, 2, 2], [2, 2, 4, 4], [3, 2, 4, 2]], [[2, 3, 2, 1], [3, 3, 2, 2], [2, 2, 3, 3], [1, 2, 3, 2]], [[1, 4, 1, 3], [4, 4, 1, 1], [1, 1, 4, 4], [3, 1, 4, 1]], [[4, 2, 4, 1], [2, 2, 4, 4], [4, 4, 2, 2], [1, 4, 2, 4]], [[1, 4, 1, 2, 3], [4, 4, 1, 2, 2], [2, 4, 1, 2, 4]], [[3, 4, 3, 2, 1], [4, 4, 3, 2, 2], [2, 4, 3, 2, 4]], [[1, 3, 1, 4, 2], [3, 3, 1, 4, 4], [4, 3, 1, 4, 3]], [[4, 2, 4, 1, 3], [2, 2, 4, 1, 1], [1, 2, 4, 1, 2]], [[2, 4, 2, 1], [4, 4, 2, 2], [2, 2, 4, 4], [1, 2, 4, 2]], [[3, 2, 3, 4, 1], [2, 2, 3, 4, 4], [4, 2, 3, 4, 2]], [[4, 1, 4, 3], [1, 1, 4, 4], [4, 4, 1, 1], [3, 4, 1, 4]], [[1, 3, 1, 2, 4], [3, 3, 1, 2, 2], [2, 3, 1, 2, 3]], [[3, 1, 3, 4], [1, 1, 3, 3], [3, 3, 1, 1], [4, 3, 1, 3]], [[4, 2, 4, 3], [2, 2, 4, 4], [4, 4, 2, 2], [3, 4, 2, 4]], [[3, 4, 3, 2], [4, 4, 3, 3], [3, 3, 4, 4], [2, 3, 4, 3]], [[4, 1, 4, 2, 3], [1, 1, 4, 2, 2], [2, 1, 4, 2, 1]]] #only available cards are reported |