the font object that you've stored in the basicfont variable has method called render(this method will return surface object with the text drawn on it the first parameter to render(is the string of the text to draw the second parameter is boolean for whether or not you want anti-aliasing on line pass true to use anti-aliasing anti-aliasing blurs your text slightly to make it look smoother figure - shows what line (with enlarged pixelslooks like with and without antialiasing attributes textrect centerx windowsurface get_rect(centerx textrect centery windowsurface get_rect(centery the pygame rect data type (called rect for shortrepresent rectangular areas of certain size and location to create new rect object call the function pygame rect(the parameters are integers for the xy coordinates of the top left cornerfollowed by the width and heightall in pixels the function name with the parameters looks like thispygame rect(lefttopwidthheightjust like methods are functions that are associated with an objectattributes are variables that are associated with an object the rect data type has many attributes that describe the rectangle they represent table - is list of attributes of rect object named myrect the great thing about rect objects is that if you modify any of these attributesall the other attributes will automatically modify themselves also for exampleif you create rect object that is pixels wide and pixels highand has the top left corner at the coordinates ( )then the -coordinate of the right side will automatically be set to (because howeverif you change the left attribute with the line myrect left then pygame will automatically change the right attribute to (because every other attribute for that rect object is also updated the get_rect(methods for pygame font font and pygame surface objects notice that both the font object (stored in the text variable on line and the surface object (stored in windowsurface variable on line both have method called get_rect(technicallythese are two different methods but the programmers of pygame gave them the same name because they both do the same thing and return rect objects that represent the size and position of the font or surface object post questions to