downright upleft upright we will use the keys on the number pad of the keyboard to remind us which belongs to which direction this is similar to the tic tac toe game is down and left is down and right is up and leftand is up and right howeverit may be hard to remember thisso instead use constant variables instead of these integer values you could have used any value you wanted for these directions instead of using constant variable for exampleyou could use the string 'downleftto represent the down and left diagonal direction howeverif you ever mistype the 'downleftstring (for exampleas 'fownleft')python would not recognize that you meant to type 'downleftinstead of 'downleftthis bug would cause your program to behave strangelybut the program would not crash but if you use constant variablesand accidentally type the variable name fownleft instead of the name downleftpython would notice that there' no such variable named fownleft and crash the program with an error this would still be pretty bad bugbut at least you would know about it immediately and could fix it movespeed use constant variable to determine how fast the blocks should move value of here means that each block will move pixels on each iteration through the game loop setting up constant variables for color set up the colors black ( red ( green ( blue ( lines to set up constant variables for the colors rememberpygame uses tuple of three integer values for the amounts of redgreenand blue called an rgb value the integers are from to the use of constant variables is for readability the computer doesn' care if you use variable named green for the color green it is easier to know that green stands for the color greenrather than ( post questions to