Skip to content

An interest app exploring peer-pressure on sleeping habit. This originates from a course CMA5001 project.

Notifications You must be signed in to change notification settings

ViGeng/imasleep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sleep Early Together

This is a course assignment from HKUST(GZ) CMA5001. This mini application is to help people know whether their friends have slept or not. The motivation of this application is to help people sleep early and have a healthy life.

Features

🛌 Show friends sleeping status

🔔 You can slightly tap your friend to kindly remind him/her to sleep

⏳ Show you are going to sleep

📊 Show your sleeping history which can be seen by your friends

Road Map

  • show sleeping status
    • client-server communication
    • show sleeping status
  • distinguish users: icons and users are corresponding, show names
    • show username under the button
  • Beautify the user interface
    • 🏠 house icon on buttons
    • 💡 bulb icon on buttons
  • disable buttons which not belong to the user

networked-touches

  • Share multitouch data between exactly two players.

public/sketch.js

This is just like the normal "sketch.js" you usually have in p5.js projects, but it also includes code that talks to the server.

server.js

This is the server code, which receives each client's data and transmits that to other client(s).

Technologies

  • p5.js
  • socket.io
  • express

Glitch Tips

First time using Glitch? Check out these Glitch tips

About

An interest app exploring peer-pressure on sleeping habit. This originates from a course CMA5001 project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published