From 3c8e0a9b9a3721adae17750f0308eefcaf5fa71a Mon Sep 17 00:00:00 2001 From: Kevin Baumgartner Date: Fri, 8 May 2026 16:04:12 +0200 Subject: [PATCH] feat(highscore): create basic structure for highscore --- src/highscore.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/highscore.py diff --git a/src/highscore.py b/src/highscore.py new file mode 100644 index 0000000..14f6564 --- /dev/null +++ b/src/highscore.py @@ -0,0 +1,17 @@ +import json + +class Highscore: + def __init__(self): + self.path = "./highscore.json" + + def load_scores(self): + pass + + def save_scores(self, scores): + pass + + def add_score(self, player_name, score_ects, time_survived, won): + pass + + def get_top_scores(self, number_of_top_scores): + pass \ No newline at end of file