Trueis a Boolean value. Make sure it’s capitalized!
The 255 numbers in the code stand for (text, True,red,green,blue)colors. These colors are represented by numbers, that’s why we’re using numbers instead of color names. For the RGB values, you can use any number between 0-255.
(0, 0, 0) creates black
(255, 255, 255) creates white
Experiment with different RGB values by going to thisRGB to HEX site! It allows you to input different numbers to see what color it makes. In the example below (32, 124, 212) was used to make a nifty shade of blue.
The text_rectangle function shows your text (the code below) where to go. Your server finally got a plate to put your meal on and now uses this function to find your spot at the table!
text_rect = text_surface.get_rect()
Blitis a term that means updating. If your server went to get you a drink refill, but you swapped seats with your friend, blitting lets the server know how to find you at the right spot!