🧱 Bricks

Bricks is a Dart package designed to help game creators easily create accounts for their players. With Bricks, players can sign in to monitor leaderboards and other game-related features. It's still in its early stages and under development, but it's packed with potential! πŸš€

✨ Features

  • πŸ“ Account Creation: Simplify the process of creating player accounts.
  • πŸ” Player Sign-In: Securely sign in players.
  • πŸ“Š Leaderboard Monitoring: Keep track of player rankings and stats.

πŸ“¦ Usage

Here’s a quick example of how to use Bricks:

import 'package:bricks/bricks.dart';

void main() {
  const name = 'player1';
  const email='abc@gmail.com',
  const password = 'securePassword';

  // Create an account
  AccountManager.createAccount(name, email, password);

  // Sign in
  final success= AccountManager.signIn(email, password);

  if (success != null) {
    print('Signed in successfully!');
  } else {
    print('Sign in failed.');
  }
}