dannyphan2910 / project11A_team18

MIT License
0 stars 0 forks source link

OLLIE 🦉+🤖 by DIY Code

Creators: Ydalia Molina, Danny Phan, Isabel Tse

Description:

Ollie is our team's minimal viable design of a Siri inspired intelligent assistant operated through text-based input. Named to reference Brandeis' Ollie the Owl mascot, our product carries the symbolic meaning of wisdom and how this program can help one gain knowledge more efficiently. It has 4 main functions as outlined below:

1. Weather :earth_asia::sunny::jp::snowflake::us::cyclone:

Inquire about the weather in any city on earth, and Ollie will tell you the temperature in degrees Celsius or Fahrenheit and give you a future forecast. We coded this using OpenWeatherMap's API for current weather data (with accessable API key), then created a class that corresponds with relevant data in the JSON file, which is then parsed using GSON.

2. Calculator :heavy_plus_sign::heavy_multiplication_x::heavy_division_sign::heavy_check_mark:

When your mental math abilities fail you, Ollie can step in. It has the ability to calculate operations categorized into three levels:

First, we have simple calculations: addition, subtraction, multiplication, division.

Second, we have exponentiation-related calculations: square root, and power.

And third, we have advanced calculations: Lowest Common Multiple (LCM), Greatest Common Denominator (GCD), prime number verification, and factorials.

We coded this using simple arithmetic and instance methods from Java's math class.

3. Calendar :date::hourglass:

Have you ever forgotten what day of the month it is? Or what day of the week? Well, Ollie's got your back. It can give the user information on the present date, past dates, as well as future dates (in the form of day, month, and year).

4. Google Search :mag::pencil::computer:

Have a question that Ollie does not directly have an answer for? Not a problem at all. The user will be directed to a Google search result link as a lead to the answer. The function uses jsoup Java HTML Parser to get results from Google.

For a list of all the words associated to trigger each function, click here.

Check out our team's information here.

For detailed information on how to run Ollie, click here.