implemented end and restart of game rounds