|
|
|
@ -15,7 +15,7 @@ from engine.score_api_client import ScoreAPIClient |
|
|
|
class UserProfileIntegration: |
|
|
|
class UserProfileIntegration: |
|
|
|
"""Integration layer between the game and profile system""" |
|
|
|
"""Integration layer between the game and profile system""" |
|
|
|
|
|
|
|
|
|
|
|
def __init__(self, profiles_file="user_profiles.json", api_url="http://localhost:8000"): |
|
|
|
def __init__(self, profiles_file="user_profiles.json", api_url="http://172.27.23.245:8000"): |
|
|
|
self.profiles_file = profiles_file |
|
|
|
self.profiles_file = profiles_file |
|
|
|
self.current_profile = None |
|
|
|
self.current_profile = None |
|
|
|
self.device_id = self.generate_device_id() |
|
|
|
self.device_id = self.generate_device_id() |
|
|
|
|