Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

walkover #87

Open
dannyx93 opened this issue Jul 24, 2020 · 3 comments
Open

walkover #87

dannyx93 opened this issue Jul 24, 2020 · 3 comments

Comments

@dannyx93
Copy link

Hi I want add function walkover

// complete match if team has no players
if (!$this->_hasPlayers($match->homeTeam) || !$this->_hasPlayers($match->guestTeam)) {
$this->completeMatch($match);
return;
}

In script Simulator is function for complete matchif team has no players.
The result of the match is 0: 0 . I want this result 0:0/ 0:3/ 3:0

@dannyx93
Copy link
Author

This file MatchSimulationExecutor.class.php

this file simulates the match. does not take into account the number of players in the club. and this is important if we are talking about walkovers

@ceriyvolck
Copy link

@dannyx93 good thing! Please share the friendly schedule if you have done this on your site. thanks.

@dannyx93
Copy link
Author

I did not do. It seems to me that the author has deliberately omitted this condition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants