how to extract data from x-sim to arduino?

:frowning: I'm totally lost right now. I'm new to both x-sim and arduino. it's a group project and my task is to extract the game data from x-sim to arduino uno.. I search through forums and got the above-mentioned program in some posts of the forums.. I'm still don't fully understand what am I suppose to do and how am I suppose to get the values...