Akinator Login takes a fun approach to user authentication by combining the concept of the Akinator guessing game with a login system. This project is all about making the login process more engaging by guessing the user's username through a series of targeted questions.
The login system uses a binary search-like algorithm to quickly guess usernames, usually within just 5 questions. It's a fresh spin on the traditional login process, keeping it both functional and intriguing.
- Interactive username guessing mechanism.
- User registration.
- Modern, responsive UI.
- Astro - Static site generator.
- React - UI component library.
- Tailwind CSS - Utility-first CSS framework.
To run this project locally:
- Clone the repository:
git clone https://github.com/xk4rimx/akinator-login
. - Navigate into the project's directory:
cd akinator-login
. - Install dependencies:
npm install
. - Start the development server:
npm run dev
.
You will be able to access the app at http://localhost:4321
.
- Users create an account.
- During login, the system asks a series of yes/no questions.
- The algorithm eliminates non-matching usernames based on each answer.
- When only one username remains, the system asks for confirmation, then prompts the user for their password.
Akinator Login was built for the "Hackathon with Lewis" event, following the theme "Functionally Dysfunctional."
This project is open-source and available under The Unlicense, so feel free to use, modify, and distribute it.