Giter VIP home page Giter VIP logo

naperville-lab's Introduction

installation

git clone https://github.com/colealbon/naperville-lab.git  
cd naperville-lab;  
cp config/options.js.example config/options.js  
npm install  
npm start  

for developers

transpile jsx source files to js files

node ./node_modules/babel-cli/bin/babel.js --presets react jsx --out-dir ./public/js

comment out stylesheets/wireframe.css in views/index.swig to remove menacing borders

usage

  1. navigate to localhost:3000
  2. drag the colored dot around the screen
  3. open a new window at localhost:3000
  4. you should now have 2 dragable dots
  5. refresh button resets the dot positions

status (partially completed)

  • javascript program running under node.js
  • the circle owned by the user should have a border
  • input your name limited to 16 characters
  • there must be at least 8 color patches to choose from
  • user can select a color by clicking on one of the patches
  • different users can be logged in on same machine or different machines
  • circle position communication between client and server must be through websocket
  • when a user closes the browser tab, circle must disappear for other users
  • when a user logs in the initial screen must show all connected circles
  • when a user moves a circle, the circle must move on other user's screens
  • client side application must have no memory of the last user
  • store the users data on the server in volatile fashion
  • server side application must combine http and socket servers
  • the client should be able to run remotely from the server
  • server side file paths must be relative

naperville-lab's People

Contributors

colealbon avatar

Watchers

James Cloos avatar  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.