HW6: IOS Notification

🐕 12/5/2022 - Yuchi's Journey App


This is a message game app where users will get notofications at every hour to update them about their little virtual pet living in their phone.

glitch-world glitch-world

🎨 Design 🎨

I created a json file that contain a list of different events your pet (Yuchi) encounters. All storylines come together as a sneakpeak into Yuchi's world. Your life is happening in parallel with Yuchi's life.

glitch-world

📈 Problems 📈

I let it run for a day but forgot that I put my phone to airplane mode at night ;therefore, pm2 wasn't able to send me notifications, but I still got the messages in the pushover app.

glitch-world glitch-world

glitch-world

✍🏻 Json file & Random Object ✍🏻

In the beginning, I was having some problems with importing a json file into node.js since I haven't tried it before. In class, we did some google search and found the correct syntax of properly import the file and refer to each object.

I also have problems with assigning random objects (storyline) everytime when it runs the function to send a message out. I figured that it was because Ikept using p5 language of writing random, the proper way to write it in node is Math.random.

glitch-world