Chess-GPT

Still playing boring, old Chess? Time to switch to Chess-GPT

Chess Board

r n b q k b n r
p p p p p p p p
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
P P P P P P P P
R N B Q K B N R

Your turn (White). Write code to make your move!

Python Code

Output
Welcome to Chess-GPT! Run your code to make a move.

How to Play

Use Python code to move your chess pieces (white). The computer will play black.

Use: move_piece(start, end)

  • start: e.g., 'e2'
  • end: e.g., 'e4'
# Move a pawn
move_piece('e2', 'e4')

# Move a knight
move_piece('g1', 'f3')
                    
Move History

No moves yet.