testgame.py uses events for quitting, shooting, and test state-changes