A

armory-client

Hey kids, do you want some bombs?

Name Last Update
bin Loading commit data...
lib Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
README.md Loading commit data...
package.json Loading commit data...

Armory Client

Your friendly client side bomb defuser

WARNING: This is the client side package. This is downloaded by the clients when they are inclined to recieve a bomb. This is not the server.

Specifications

Upon executing the command:

armory-client init 

One will be prompted to give a domain name.

Retrieve from:

Armory will try to connect to the domain via socket.io, if a connection is available the client will then be prompted to authenticate via username and password.

Username: ..[User will enter username]..  
Password: ..[User will enter password]..
Status: ..[Authentication will begin].. Success!

After the user has been authenticated and a connection has been established the user can now prompt for a "bomb".

armory-client get jsbomb

The server then responds with a "bomb".

Javascript bomb generated!
+--------------------------------------------+
| Bomb Id: [Number]                          |
| Bomb Type: JS                              |
| Due Date: [A date] DAY/MONTH/YEAR          |
+--------------------------------------------+
(Warning text)

Once you've aquired a bomb, you can now begin to answer some of its questions.

armory-client storage

This command lists all the bombs you currently possess and their status, ID and type.

Output:

+--------------------------------------------+
| Bomb Id: [Number]                          |
| Bomb Type: JS                              |
| Due Date: [A date] DAY/MONTH/YEAR          |
+--------------------------------------------+
... (More bombs!)

Now knowing the ID of the bomb recently generated one can begin to defuse it.

armory-client defuse [Bomb ID]

This begins the process of defusing the bomb. Questions do not live locally, they live on the server.

Question 1: [Blah Blah Blah Blah]
Answer: [User answers here]

The answer is sent to the server and the result is returned to the client.

Question 1, defused.

Then the next question is asked and so on and so fourth... If the question is answered incorrectly, the bomb explodes but it is saved in your personal armory but destroyed on the server. The status of the bomb, and status of the bomb is stored server-side so the only thing a client possess is an ID that corresponds with one existant on the server.

Commands

Name: Armory client initilzation command

armory-client init

Description: Initializes the armory-client and connects to the server.

Name: Armory client version

armory-client version

Description: Returns version of armory-client

Name: Armory client help

armory-client help

Description: Initializes the armory-client and connects to the server.

Name: Armory client storage

armory-client storage 

Description: Gives all currrently owned bombs.

Name: Armory client defuse

armory-client defuse [bomb-id]

Description: Begin to defusing a bomb.

Name: Armory client scoreboard

armory-client scoreboard

Description: Displays scoreboard