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