import pygame, sys #from pygame.locals import * def load_map(path): f = open(path + ".txt","r") data = f.read() f.close() data =