Skip to content
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
README.md
client.js
collatz.js
server.js

README.md

Collatz Sample

Calculates Collatz sequence for numbers from 1 to 1000

Install

npm install

Run

Start server in port 3000

node server 3000

Then, you can launch many clients, each in different ports. I.e. start client in port 3001 connecting to server at 3000

node client 3001 3000
Something went wrong with that request. Please try again.