made game terminate as soon as someone reaches 10