Inspiration

THERE ARE MANY ONE ON ONE GAMES where random players wish to compete with each other, but it's hard to find legitimate players. The main inspiration is to provide a noncheater environment which is achieved through verifying their phone numbers, which is generally used authentication via emails, money transactions, etc.

What it does

This app has a login system and registration system. Once a user logs in they are greeted with the verification page where the user authenticates their accounts. This information is then stored in the database. The user then has the option to sign in to the account they created and access the dashboard. The dashboard will display information about the users who signed in and the user who was matched against him. The matching function for this program works with a power level. The power level is randomly assigned and is then used to match the player with a set range.

How we built it

Backend

This app was developed using Python flask. It was assigned routes for each subpage(home, registration, login, etc.). The app uses flask-login to login authentication and has further phone verification using Twilio API. The database used to store this information is Flask-SQLAlchemy

Frontend

HTML, CSS, W3school API

Challenges we ran into

So problems in the backend were the verification process using Twilio. Problems that arose are the following:

  • user authentication was sent but was not verified when the authentication code was entered properly.
  • Fix: The authentication function was modified based on the formatting on the phone number ## Accomplishments that we're proud of The successful app creation was a huge milestone, where the authentication was done so smoothly. Our frontend used W3school API which made the app look very sleek ## What we learned The verity of uses of W3school API and Twilio API. The potential for this to help was project is huge. The learning curve was great with in-depth website guides. ## What's next for Player Matching There following will be added soon:
  • Verification globally, and other methods of verification.
  • A verity of options of games to be played, and multiplayer for 2 players.
  • refurbishing the front end using react.

Built With

Share this project:

Updates