Coder Social home page Coder Social logo

imasleep's Introduction

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

imasleep's People

Contributors

vigeng avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.