Inspiration

• The category for self-happiness reminded of us about mental health. By using the PERMA model, we were able to take inspiration from the Meaning and Accomplishments. We brainstormed ideas about how we could implement both the categories into the self-happiness topic. We thought about having an application where the player is rewarded for their achievements and have a way to organize their goals. By using goals, people can check whether they fulfill their goals for the day. We decided to add a fun aspect to the application where the player could grow plants in a greenhouse to track their progress and have the player be rewarded with a cute plant.

What it does

• The application begins with having the player start a new game or a save file from a saved csv file. In the csv file, players can save their plants and progress with their goals after they’re finished with the application. After the player loads the save file, the homepage goes inside the greenhouse where it displays 6 different plant pots. These plant pots are empty, but the player could press the “add plant” button to show a dropdown menu that has pre-made goals the player could use. After selecting the goal, the plant is assigned the goal, and, depending on if they complete the goal for the day, the plant is watered. After the player completes the goal multiple times, the plant goes through growing stages before becoming fully grown.

How we built it

• We built the application off JavaScript and displayed the code through html. We used JavaScript for object-oriented classes for plants. The html file is mainly used to program the buttons and load the next html file from the entry page to the main game page. We also loaded the pre-made goals into a Json file to create a dropdown menu for the create plant button.

Challenges we ran into

• When implementing the application, we went for the object orientated approach since we were under the impression that it would work similarly to Java. Our application became difficult to implement in the later stages, which caused us a delay in including later functions. Additionally, some aspects stopped working after we committed our changes to the branch. We were able to solve most of the issues with the program by rewriting and/or deleting unnecessary code.

Accomplishments that we're proud of

• Our group was proud of how we were able to implement html into our application because majority of us were slightly familiar with using html with the functions we had. The key accomplishment we had was being able to convert the save files into a csv file and creating a dropdown menu for our plant’s goal. What we learned • We learned more about the capabilities of JavaScript and how to create html files routes for our game. Since majority of us were new to doing hackathons. It was the first time for us to be collaborating as a group on a single project.

What's next for Self Growth

• Learning what JavaScript is best for instead of using it for object oriented programming. • Finding new ways to be able to host applications besides using html.

Built With

Share this project:

Updates