continue return event key return none the checkforkeypress(function works almost the same as it did in the wormy game first it calls checkforquit(to handle any quit events (or keyup events specifically for the esc keyand terminates the program if there are any then it pulls out all the keyup and keydown events from the event queue it ignores any keydown events (keydown was specified to pygame event get(only to clear those events out of the event queueif there were no keyup events in the event queuethen the function returns none showtextscreen() generic text screen function def showtextscreen(text) this function displays large text in the center of the screen until key is pressed draw the text drop shadow titlesurftitlerect maketextobjs(textbigfonttextshadowcolor titlerect center (int(windowwidth )int(windowheight ) displaysurf blit(titlesurftitlerect draw the text titlesurftitlerect maketextobjs(textbigfonttextcolor titlerect center (int(windowwidth int(windowheight displaysurf blit(titlesurftitlerect draw the additional "press key to play text presskeysurfpresskeyrect maketextobjs('press key to play 'basicfonttextcolor presskeyrect center (int(windowwidth )int(windowheight displaysurf blit(presskeysurfpresskeyrectinstead of separate functions for the start screen and game over screenswe will create one generic function named showtextscreen(the showtextscreen(function will draw whatever text we pass for the text parameter alsothe text --press key to play |will be displayed in addition notice that lines to draw the text in darker shadow color firstand then lines to draw the same text againexcept offset by pixels to the left and pixels upward this creates --drop shadow|effect that makes the text look bit prettier you can compare the difference by commenting out lines to to see the text without drop shadow email questions to the authoral@inventwithpython com