Spot game code and xml writers