Added Boolean for game ending.