Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.16 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.16 KB

DGCastle
Build Status Coverage Status

A statistics tracking tool for disc golf, with a focus on team challenge.

Supported Python Versions:

  • 3.6.x

Getting Started

This project is configured using virtualenv and python3, to get started make sure both of those are installed on your system and run:

make init

To reactivate your virtualenv run:

source .venv/bin/activate

You can leave the virtualenv using:

deactivate

Running Tests

Tests use the python3 unittest library and can be run using:

make test

Importing Data

Format for match play input follows these rules for validating results.

Matchplay results can have 1 of 3 different types of values...

  1. A victory that ended before all 18 holes were played
    • "X&Y where X > 1 and X > Y >= 1 and X - Y <= 2
  2. A victory that ended at 18 holes
    • "Xup" where 0 < X < 3
  3. A tie or "all square"
    • "tie" or "as"