nicolafan / pyleague-soccer-simulation

A Python soccer championship simulation
MIT License
5 stars 3 forks source link

Add team creation constraints #1

Open nicolafan opened 2 years ago

nicolafan commented 2 years ago

Before creating a league it is important to create the Teams of PyLeague; the correct execution of the application depends on some constraints on the team values:

At the moment there aren't other conditions I could think of. If one or more constraints are not satisfied, a ValueError must be raised.