downloaded chess pieces and removed piece rendering (flawed)

This commit is contained in:
milan 2026-07-19 12:38:45 +02:00
parent 61cc40f925
commit cfae5228cb
17 changed files with 1 additions and 6 deletions

View File

@ -11,11 +11,7 @@ screen = pg.display.set_mode((size, size))
clock = pg.time.Clock()
running = True
all_pieces = pg.sprite.Group()
bRook = ChessPiece("pieces/b-rook.png",0 ,7)
bNight = ChessPiece("pieces/b-knight.png",117 ,7)
all_pieces.add(bRook)
all_pieces.add(bNight)
while running: #open window
for event in pg.event.get():
@ -24,7 +20,6 @@ while running: #open window
render_board(screen, size)
all_pieces.draw(screen)
#flip display to put game on screen
pg.display.flip()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

BIN
pieces/black-bishop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
pieces/black-king.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
pieces/black-knight.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
pieces/black-pawn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
pieces/black-queen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
pieces/black-rook.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

BIN
pieces/white-bishop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
pieces/white-king.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
pieces/white-knight.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
pieces/white-pawn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
pieces/white-queen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
pieces/white-rook.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB