示例#1
0
 def __init__(self, color, xPos, yPos):
     Piece.__init__(self, color, xPos, yPos)
     self.piecetype = 'knight'
示例#2
0
 def __init__(self, color, xPos, yPos):
     Piece.__init__(self, color, xPos, yPos)
     self.moved = False
     self.piecetype = 'rook'
示例#3
0
 def __init__(self, color, xPos, yPos):
     Piece.__init__(self, color, xPos, yPos)
     self.colors = color
     self.piecetype = 'queen'
示例#4
0
 def __init__(self, color, xPos, yPos):
     Piece.__init__(self, color, xPos, yPos)
     self.piecetype = 'pawn'
     self.moved = False
     self.bigMove = -10
示例#5
0
 def __init__(self, color, xPos, yPos):
     Piece.__init__(self, color, xPos, yPos)
     self.piecetype = 'bishop'