dschandra commited on
Commit
aa9c958
·
verified ·
1 Parent(s): 0acf580

Create scorecard.py

Browse files
Files changed (1) hide show
  1. scorecard.py +8 -0
scorecard.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # scorecard.py
2
+ def get_scorecard():
3
+ # Fetch player performance data (from a database or API)
4
+ player_scores = [
5
+ {"player": "John", "runs": 50, "balls": 30, "wickets": 1},
6
+ {"player": "Tom", "runs": 30, "balls": 40, "wickets": 0}
7
+ ]
8
+ return player_scores