Inspiration

We thought it was funny

What it does

TinkleWizard finds an open establishment near you that you can use the bathroom in that is located within a specific radius around the user. This radius is calculated based on how badly they have to pee (the higher the urgency the lower the radius around the user). If you have to pee outside or there are no open establishments in the given radius around the current user location, a risk factor will be provided based on how likely it is for someone to catch you if you decide to go on the spot. This is calculated by counting the amount of populated areas such as restaurants and schools in the radius around the user, and how close they are from the user. For example if you were in a populated building, your risk factor would be very high, but if you were in the middle of a desert your risk factor would be close to 0%. Keep in mind if you are already in an open establishment the risk factor will be displayed as 100% because you are already in a populated area. The risk factor is only used for when you are not in a building. TinkleWizard uses a simple web request to get the users instantaneous geolocation, which doesn't update real-time.

How we built it

Using React (JavaScript/CSS/HTML), Google Places API, and Google Cloud's Places and JavaScript Maps API.

Challenges we ran into

Learning JavaScript/CSS/HTML and React, and fetching data from APIs. Figuring out how to create components that did what we wanted in react. We were unfamiliar with almost every single aspect of making this project so it was very challenging and confusing but also fun and rewarding.

Accomplishments that we're proud of

Learning React and creating a (somewhat) functioning app that utilizes an API on the same day as beginners.

What we learned

React, JavaScript/CSS/HTML, how to import and utilize APIs, and the basics of front-end and back-end.

What's next for TinkleWizard

Maybe use image recognition technology, such as those offered by AWS to find a bush near you to do your business in. For more practical applications, utilize the Places API to filter by establishments that are actually important, for example a school or a hospital in a 2000 foot radius around you.

Share this project:

Updates