supabase integration instead firebase

This commit is contained in:
2025-12-21 20:50:44 +01:00
parent 50c869536d
commit 494f906435
6 changed files with 221 additions and 85 deletions

View File

@ -10,7 +10,7 @@ public:
explicit ScoreManager(size_t maxScores = 12);
void load();
void save() const;
// New optional `gameType` parameter will be sent to Firebase as `game_type`.
// New optional `gameType` parameter will be sent as `game_type`.
// Allowed values: "classic", "versus", "cooperate", "challenge".
void submit(int score, int lines, int level, double timeSec, const std::string& name = "PLAYER", const std::string& gameType = "classic");
bool isHighScore(int score) const;