[FEATURE REQ] Scoring systems for different Fantasy cricket platforms
Opened this issue ยท 1 comments
roysti10 commented
Is your feature request related to a problem? Please describe.
Since more and more fantasy cricket platforms emerge , we would like to build a support for all such platforms
Describe the solution you'd like
In file fantasy_leagues.py
each fantasy cricket platform should be represented in the following way
The list in each key of dictionary represents ['T20','ODI','TEST']
Example class
class Dream11(Teams):
"""Dream11 League
Supported platforms:
* ODI
* T20
* TEST
"""
name = "Dream11"
batting_dict = {
"runs": [1, 1, 1],
"boundaries": [1, 1, 1],
"sixes": [2, 2, 2],
"50": [8, 4, 4],
"100": [16, 8, 8],
"duck": [-2, -3, -4],
}
bowling_dict = {
"wicket": [25, 25, 16],
"4-wicket-haul": [8, 4, 4],
"5-wicket-haul": [16, 8, 8],
"Maiden": [4, 8, None],
}
wk_dict = {
"Catch": [8, 8, 8],
"Stump": [12, 12, 12],
}
Some platforms are
Comment if you would like to work on it
issue-label-bot commented
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.99. Please mark this comment with ๐ or ๐ to give our bot feedback!
Links: app homepage, dashboard and code for this bot.