game stops when it is finished