updated death and win conditions