armazenar e receber FB
import { getDatabase, ref, onValue } from 'firebase/database';
function storeHighScore(userId, score) {
const db = getDatabase();
const reference = ref(db, 'users/' + userId);
set(ref(db, 'users/' + userId), {
highscore: score,
});
}
MadMan