Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧱 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.');
  }
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages