Demons know future events. A familiar spirit, mentioned in the Book of Acts, could tell the future. Someone could have had a spirit like this and then put the information into a game. We don’t know for certain.