Bad4You
Team: Big Ballers
Members:
Jordan Chen - curious-jor (Frontend-Developer)
Nils Carlson - necarlson97 (Backend Developer)
Alex Yuan - alexyuan24 (Data Analyst)
Liam Corbett - liamcorbett (Database Designer)
Todo
- [X] Compile Relative Risk Data
- [X] Create page layout
- [X] Work on HTML buttons, forms
- [X] Design Data Schema
- [X] Create question/answer bank
- [X] Use modal submit to update user info
- [X] Hook up client script to google script
- [X] Player Icon and Heart
- [X] Death Sprite
- [X] Animate player icon and heart
Description
Everyone knows candy is bad for you. But everyone also knows everything is bad for you. Cigarettes, alcohol, plastic, sitting, and even running are bad for you. So how do you enjoy your life knowing all of this?
Bad4You is a browser-based life simulator. To get started, give it your name, age, and the state you live in. Then answer a series of questions about your lifestyle. Do you eat your vegetables? Do you drink soda? Do you smoke? Your answers to these questions will be compared to a collection of public health data. Bad4You then determines your risk of heart disease for every choice you make. See your decisions played out over the course of your life and get a sense of how those decisions affect your health.
Video demo here. Risk spreadsheet & sources here.
How to Play
Clone this repository and open index.html. Enter your name, sex, and the state you live in. Then start answering questions in the bottom right. Click "Play Again" if you get to the end, or die.

Log in or sign up for Devpost to join the conversation.