Skip to content

Commit

Permalink
content update. Instructions etc
Browse files Browse the repository at this point in the history
  • Loading branch information
nxvipin committed Oct 10, 2011
1 parent c679997 commit 9027ad4
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions js/xkcd_cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,48 @@ Filesystem = {
terminal.print('scripting - tldp.org absg');
terminal.print('some linux tutorials');
}},*/
'Instructions.txt': {type:'file', read:function(terminal) {
terminal.print($('<h3>').text('Tux of War contest Instructions'));
terminal.print('You will get 30 minutes for attempting the questions.');
terminal.print('There will be total of 45 questions, answer as many as you can.');
terminal.print('Marking scheme: +4 for correct, -1 for incorrect answer.');
terminal.print('Decision of co-ordinators will be final.');
terminal.print($('<br />');
terminal.print($('<h3>').text('How to compete:'));
terminal.print('Do not reload or logout once you start the competition. ');
terminal.print('Use the following command to use the contest console:');
terminal.print('start <tathva team id>');
terminal.print('e.g. start TOW1001');
terminal.print($('<br />');
terminal.print('Once the contest starts to view any question type the command:');
terminal.print('display <ques_no> OR question <ques_no> ');
terminal.print('e.g. for question no. 5 type command `question 5`');
terminal.print('question number must be between 1 and 45');
terminal.print($('<br />');
terminal.print('To answer any question type :');
terminal.print('answer -q <ques_no> -a <ans_option>');
terminal.print('e.g. To answer question number 5 with option B type ');
terminal.print('answer -q 5 -a B');
terminal.print($('<br />');
terminal.print('use next prev to switch between questions');
terminal.print('and random to go to random question ;-)');
}},
'welcomelogin.txt': {type:'file', read:function(terminal) {
terminal.print('Contest started...');
terminal.print('Do not reload or logout.');
terminal.print('Use the following command to use the contest console:');
terminal.print('To view any question type the command:');
terminal.print('question <ques_no> ');
terminal.print('e.g. for question no. 5 type command ');
terminal.print('question 5');
terminal.print('question number must be between 1 and 45');
terminal.print('To answer any question type :');
terminal.print('answer -q <ques_no> -a <ans_option>');
terminal.print('e.g. To answer question number 5 with option B type ');
terminal.print('answer -q 5 -a B');
terminal.print('use next prev to switch between questions');
terminal.print('and random to go to random question ;-)');
}},
'contacts.txt': {type:'file', read:function(terminal) {
terminal.print($('<h3>').text('Contact Info'));
terminal.print('Kartik Singhal');
Expand Down

0 comments on commit 9027ad4

Please sign in to comment.