Problem description: I’m basically trying to create chess in Replit. I’m using letters to represent pieces on the board, so each letter has to be colored black or gray and assigned a background color, white or blue depending on whether it’s on a light or dark square. All the black letters work fine, but gray letters will turn black on the blue squares.
Expected behavior: All of the gray letters display as gray with white and blue backgrounds.
Actual behavior: Only the gray letters on white backgrounds display as gray, the ones with blue backgrounds display as black.
Steps to reproduce:
print(“\033[1;36;44mtest”)
print(“\033[1;36;47mtest”)
Bug appears at this link:
https://replit.com/@programming-1-callaghan-spri/Unit-2-Lab-4-Game-Loop-solo-MatthewSimpso12
Browser/OS/Device:
Chromebook