submarine_control's Introduction
Program: Management of submarines in an ocean The control room controls all the submarines. For this, it manages the location of all the ships and sends commands to hide itself during a war. When there is no threat (again sent by the control room), they come back again to the surface. Jack Sparrow (control room's head) decides when for the submarine to come back. You are consulted to write a program to help Jack Sparrow. There are 2 web pages - Control room and Submarines. One web page - Jack Sparrow's Control Room - Understand Pubnub. You can register for free. Basically, its a communication platform where clients can listen on a channel and other clients can send or receive updates. - Write client code that listens for submarines to register. You can use PubNub to listen on a channel and sniff for join and leave events. - Check if the name is already taken while a submarine registers in the backbone list. The client should be sent an error to re register with a proper name. Otherwise, it should be added to the list (backbone) - For each submarine registered, it should show hide button which when clicked will send a message to the submarine to hide - If a submarine hides, it should be disabled from the list. Second Web page for submarines - Submarines (new web pages) can register with Jack Sparrow. The web page should take the name of the ship (as alphanumeric input with proper validation) and the register option. If the name is already registered with Jack Sparrow, Jack Sparrow sends an invalid signal. You should show an error. - Show the status of the submarine (default is shown). When it receives a command from the server, it hides by updating the status. - Submarines can also hide while it is undergoing maintenance. A button to hide should be shown. It will then be removed from Jack Sparrow's list.
submarine_control's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.