added global variables to track in game_state_analysis.py