Python game based on coordinates