Bugfix: add conditions for ending a tennis match