added 'active' field.  changed startGame().