GithubHelp home page GithubHelp logo

flight-night's Introduction

Flight-Night

A app for helping homebrewers estimate their BAC.

Purpose:

A homebrewer's helper. It estimates your blood alcohol based off of a couple of factors. But you specifically can enter the ABV of each drink as well as its size. This is useful for homebrewers where the ABV of the drinks can vary wildly.

Post-mortem:

After a fair bit of fiddling around I got an app good enough to demo. After some attempts of using it we discovered two problems:

  1. It is fiddly. And that is not likely to get better regardless of how much the interface is improved.
  2. Despite being correctly implemented, it's accuracy is dubious. So it's critical feature is shaky at best.

These two problems lead to the end of this project. But lets talk a litlte about how it works.

Screenshot 1

The algorithm for estimating your BAC requires your gender and body mass. So one of the first things is that information. I had plans to make this hiden away in settings in later iterations. Perhaps having profiles that you could swap between since some people would rather not have their weight so clearly visible. Next was drink name, which was mostly for fun record keeping reasons. Then you can select what the ABV is and the amount of oz. that you drank. Finally there is the drink button that logs the drink as drank.

Screenshot 2

The other feature is the drink list. This is where you can edit mistakes you made in entries, see what you have had so far, how much each drink is contributing to your BAC, and start a new drinking session. This list is populated automatically everytime you open the app with your previous session's information. So even if it's been months and your phone has died since you last opened, your session is safe. One thing that never got exposed but I had plans to was the record of your previous sessions.

Code for this project can be found on Github

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.