Winning teams get 3 points for each game, drawing teams get 1 point and a losing team get 0 points.
Tested with:
- Python: 3.6, 3.7, 3.8, 3.9
- Install python 3.6+.
- git clone [email protected]:cblignaut/leagueranking.git.
- Go to the root of the leagueranking directory.
- Run:
python.main.py
- Add games in the following format:
[Team 1] [Team 1 score], [Team 2] [Team 2 score]
- To quit type
q
- The file need to be in the correct format. (See the sample_input.txt file)
- To process a file run:
python main.py -f sample_input.txt
- Install all python versions: 3.6, 3.7, 3.8, 3.9
- Install test requirements with:
pip install -r requirements_test.txt
- Run tests with
tox
Please create an issue New Issue
See LICENSE file for more information.