We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ python Chess.py pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html Traceback (most recent call last): File "Chess.py", line 4, in from ChessPieces import * File "C:\Users\Labham Jain\CODE\Python\atom - PYPro\Shatranj-master\ChessPieces.py", line 241, in Pawn('MEDIA\WhitePawn.png', squareCenters[48], 'White'), File "C:\Users\Labham Jain\CODE\Python\atom - PYPro\Shatranj-master\ChessPieces.py", line 33, in init ChessPiece.init(self, image, position, team) File "C:\Users\Labham Jain\CODE\Python\atom - PYPro\Shatranj-master\ChessPieces.py", line 11, in init self.image = pygame.transform.scale(self.image, (BoardWidth / 8 - BoardWidth / 21, BoardWidth / 8 - BoardWidth / 21)) TypeError: integer argument expected, got float
The text was updated successfully, but these errors were encountered:
me to
Sorry, something went wrong.
No branches or pull requests
$ python Chess.py
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "Chess.py", line 4, in
from ChessPieces import *
File "C:\Users\Labham Jain\CODE\Python\atom - PYPro\Shatranj-master\ChessPieces.py", line 241, in
Pawn('MEDIA\WhitePawn.png', squareCenters[48], 'White'),
File "C:\Users\Labham Jain\CODE\Python\atom - PYPro\Shatranj-master\ChessPieces.py", line 33, in init
ChessPiece.init(self, image, position, team)
File "C:\Users\Labham Jain\CODE\Python\atom - PYPro\Shatranj-master\ChessPieces.py", line 11, in init
self.image = pygame.transform.scale(self.image, (BoardWidth / 8 - BoardWidth / 21, BoardWidth / 8 - BoardWidth / 21))
TypeError: integer argument expected, got float
The text was updated successfully, but these errors were encountered: