What if get_random_opponent() return null? try catch it or put an if