supabase integration instead firebase
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user