Convention on naming chess pieces

Every chess piece is identified by a single letter (pawn = p, knight = n (yes knight with an n!), bishop = b, rook = r, queen = q, and king = k).

The white chess pieces are represented by uppercase letters (PNBRQK), and the black chess pieces are represented by lowercase letters (pnbrqk).

Get Tkinter GUI Application Development Blueprints - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.