Use uuids for the player and game ids. Introduce more error handling.