<s> background_image_filename = '<STR_LIT>' <EOL> mouse_image_filename = '<STR_LIT>' <EOL> import pygame <EOL> from pygame . locals import * <EOL> from sys import exit <EOL> pygame . init ( ) <EOL> screen = pygame . display . set_mode ( ( <NUM_LIT> , <NUM_LIT> ) , <NUM_LIT:0> , <NUM_LIT:32> ) <EOL> pygame . display . set_caption ( "<STR_LIT>" ) <EOL> background = pygame . image . load ( background_image_filename ) . convert ( ) <EOL> mouse_cursor = pygame . image . load ( mouse_image_filename ) . convert_alpha ( ) <EOL> while True : <EOL> for event in pygame . event . get ( ) : <EOL> if event . type == QUIT : <EOL> pygame . quit ( ) <EOL> exit ( ) <EOL> screen . blit ( background , ( <NUM_LIT:0> , <NUM_LIT:0> ) ) <EOL> x , y = pygame . mouse . get_pos ( ) <EOL> x -= mouse_cursor . get_width ( ) / <NUM_LIT:2> <EOL> y -= mouse_cursor . get_height ( ) / <NUM_LIT:2> <EOL> screen . blit ( mouse_cursor , ( x , y ) ) <EOL> pygame . display . update ( ) </s>
