hardcoded rendering of black rook and knight
This commit is contained in:
parent
c97a82ad45
commit
61cc40f925
4
main.py
4
main.py
@ -12,8 +12,10 @@ clock = pg.time.Clock()
|
||||
running = True
|
||||
|
||||
all_pieces = pg.sprite.Group()
|
||||
bRook = ChessPiece("pieces/b-rook.png",0 ,0)
|
||||
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():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user