Move 1, bitchheo is playing.. Cards available to bitchheo Traceback (most recent call last): File "game.py", line 396, in oneMove player.py", line 254, in play move = self.move() player.py", line 140, in move def getStartPoints( mountPoint : tuple, card : list ) -> list[tuple]: TypeError: 'type' object is not subscriptable Error occured in situation: self.tournament = True self.timeout = 1.7 self.boardRows = 33 self.boardCols = 33 self.cardsOnDesk = [] 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]], [[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 |