Python server handling socket connection and passes input to pygame games.