cricket_app / scorecard.py
dschandra's picture
Create scorecard.py
aa9c958 verified
raw
history blame contribute delete
282 Bytes
# scorecard.py
def get_scorecard():
# Fetch player performance data (from a database or API)
player_scores = [
{"player": "John", "runs": 50, "balls": 30, "wickets": 1},
{"player": "Tom", "runs": 30, "balls": 40, "wickets": 0}
]
return player_scores