<commit_before>'use strict';

// The lists of instances of each object type.
var attackQuestions = [];
var defenseQuestions = [];
var locations = [];
var enemies = [];
var historicalFigures = [];

//==========ATTACK QUESTIONS==========

// BLANK TEMPLATE
// var attackQuestionOneAnswerChoices = [];
// var attackQuestionOne = new Question
//   ('',
//   attackQuestionOneAnswerChoices,
//   0,
//   '');
// attackQuestions.append(attackQuestionOne);

//==========ATTACK EXAMPLE==========
// 1
// var attackQuestionOneAnswerChoices = ['Blue', 'Red', 'Green', 'Purple'];
// var attackQuestionOne = new Question
//   ('What is my favorite color?',
//   attackQuestionOneAnswerChoices,
//   2,
//   'Nope! It\'s Green!');
// attackQuestions.append(attackQuestionOne);

// 1 ATTACK
var attackQuestionOneAnswerChoices = ['Number', 'String', 'NaN', 'undefined'];
var attackQuestionOne = new Question
  ('What does the following expression return? typeof(NaN);',
  attackQuestionOneAnswerChoices,
  0,
  'Number is the correct answer.');
attackQuestions.push(attackQuestionOne);

// 2 ATTACK
var attackQuestionTwoAnswerChoices = ['False', 'True', 'Maybe', 'I don\’t know'];
var attackQuestionTwo = new Question
  ('What does the following expression return? !false',
  attackQuestionTwoAnswerChoices,
  1,
  'Sorry! The correct answer is true.');
attackQuestions.push(attackQuestionTwo);

// 3 ATTACK
var attackQuestionThreeAnswerChoices = ['rm branch pudding', 'rm -rf', 'git branch -d pudding', 'git checkout -b pudding'];
var attackQuestionThree = new Question
  ('How do you delete a branch called pudding?',
  attackQuestionThreeAnswerChoices,
  2,
  'The correct answer is git branch -d pudding.');
attackQuestions.push(attackQuestionThree);

// 4 ATTACK
var attackQuestionFourAnswerChoices = ['expletives', 'variable', 'location', 'var'];
var attackQuestionFour = new Question
('What variable name should NOT be used in Javascript?',
attackQuestionFourAnswerChoices,
2,
'The correct answer is location.');
attackQuestions.push(attackQuestionFour);

// 5 ATTACK
var attackQuestionFiveAnswerChoices = ['You look like a lonely variable, I\'d like to assign you as mine!', 'If I call your function name, will you return me your phone number?', 'Are you an Object constuctor? Because I want to build a relationship with you!', 'ALL OF THE ABOVE'];
var attackQuestionFive = new Question
('Which of the following is the cheesiest Javascript line?',
attackQuestionFiveAnswerChoices,
3,
'The correct answer is ALL OF THE ABOVE.');
attackQuestions.push(attackQuestionFive);

//6 ATTACK
var attackQuestionSixAnswerChoices = ['Packed data sets can not be processed differently.', 'Shared memory or thread level parallelism allow different parallel paths on multiple data', 'It returns a selection mask with API vectors', 'Typed arrays split implementation into buffers and views'];
var attackQuestionSix = new Question
('What is the downside of Single Instruction/Multiple data methods?',
attackQuestionSixAnswerChoices,
0,
'The correct answer is packed data sets can not be processed differently');
attackQuestions.push(attackQuestionSix);

//7 ATTACK
var attackQuestionSevenAnswerChoices = ['In the body section at the bottom', 'In your meta tag section', 'In the body section at the top','In your head section'];
var attackQuestionSeven = new Question
('Where is it best to put a CDN JavaScript reference in your HTML file?',
attackQuestionSevenAnswerChoices,
3,
'The correct answer is in your head section');
attackQuestions.push(attackQuestionSeven);

//8 ATTACK
var attackQuestionEightAnswerChoices = ['meow.txt touch', 'mkdir meow.txt', 'touch meow.txt', 'meow meow meow meow'];
var attackQuestionEight = new Question
('In Bash, how do you make new text file named meow?',
attackQuestionEightAnswerChoices,
2,
'The correct answer is touch meow.txt');
attackQuestions.push(attackQuestionEight);

//9 ATTACK
var attackQuestionNineAnswerChoices = ['style this.list', 'list-style-type', 'type-style-list','list-decoration'];
var attackQuestionNine = new Question
('How do you change the style of an unordered list in CSS?',
attackQuestionNineAnswerChoices,
1,
'The correct answer is list-style-type');
attackQuestions.push(attackQuestionNine);

console.log(attackQuestions);
//==========DEFENSE QUESTIONS==========

// 1 DEFENSE
var defenseQuestionOneAnswerChoices = ['2001', '2007', '2015', '2005'];
var defenseQuestionOne = new Question
  ('What year did the iPhone come out?',
  defenseQuestionOneAnswerChoices,
  1,
  '...Sorry! You\'re wrong. It was 2007...');
defenseQuestions.push(defenseQuestionOne);

// 2 DEFENSE
var defenseQuestionTwoAnswerChoices = ['<NAME>', '<NAME>', '<NAME>', '<NAME>'];
var defenseQuestionTwo = new Question
  ('What is the name of the female lead actress in the movie Alien?',
  defenseQuestionTwoAnswerChoices,
  3,
  '...Oh no! You\'re wrong. It was Sigourney...');
defenseQuestions.push(defenseQuestionOne);

// 3 DEFENSE
var defenseQuestionThreeAnswerChoices = ['<NAME>', '<NAME>', '<NAME>', '<NAME>'];
var defenseQuestionThree = new Question
  ('Which author wrote the books, Jurassic Park, which was adapted to a major motion picture film?',
  defenseQuestionThreeAnswerChoices,
  3,
  '...Really? Come on. We made it easy. It was Michael Crichton.');
defenseQuestions.push(defenseQuestionOne);

//==========FINAL_QUESTION==========

var finalQuestionAnswerChoices = ['Earth', 'Skaro', 'Mondas', 'Gallifrey'];
var finalQuestion = new Question
('In Doctor Who, what is the home planet of the Daleks?',
finalQuestionAnswerChoices,
1,
'Turn on BBC right now...because that\'s wrong. It\'s Skaro');

//==========SCENES==========
var japan = new Scene ('Japan Year 1185', 'images/japansmall.jpg');
console.log(japan);
locations.push(japan);

//==========HISTORICAL FIGURES==========

// This object defines the historical figure.
var einstein = new HistoricalFigure ('<NAME>', ['You do not really understand something unless you can explain it to your grandmother.', 'It is a miracle that curiosity survives formal education.'], 'Hello friend, my name is Albert and I’m here to assist you. Please click on a portal below to begin your journey to fix time. Yell E=MC2 as you jump into the portal!', ['images/albert.jpg', 'images/einstein2.jpg']);
console.log(einstein);
historicalFigures.push(einstein);

//==========ENEMIES==========

var trex = new Enemy ('T-rex', 'images/trex.jpg', 'RAWWWRRRRR!!!');
console.log(trex);
enemies.push(trex);
<commit_msg>Added image strings to data JS<commit_after>'use strict';

// The lists of instances of each object type.
var attackQuestions = [];
var defenseQuestions = [];
var locations = [];
var enemies = [];
var historicalFigures = [];

//==========ATTACK QUESTIONS==========

// 1 ATTACK
var attackQuestionOneAnswerChoices = ['Number', 'String', 'NaN', 'undefined'];
var attackQuestionOne = new Question
  ('What does the following expression return? typeof(NaN);',
  attackQuestionOneAnswerChoices,
  0,
  'Number is the correct answer.');
attackQuestions.push(attackQuestionOne);

// 2 ATTACK
var attackQuestionTwoAnswerChoices = ['False', 'True', 'Maybe', 'I don\’t know'];
var attackQuestionTwo = new Question
  ('What does the following expression return? !false',
  attackQuestionTwoAnswerChoices,
  1,
  'Sorry! The correct answer is true.');
attackQuestions.push(attackQuestionTwo);

// 3 ATTACK
var attackQuestionThreeAnswerChoices = ['rm branch pudding', 'rm -rf', 'git branch -d pudding', 'git checkout -b pudding'];
var attackQuestionThree = new Question
  ('How do you delete a branch called pudding?',
  attackQuestionThreeAnswerChoices,
  2,
  'The correct answer is git branch -d pudding.');
attackQuestions.push(attackQuestionThree);

// 4 ATTACK
var attackQuestionFourAnswerChoices = ['expletives', 'variable', 'location', 'var'];
var attackQuestionFour = new Question
('What variable name should NOT be used in Javascript?',
attackQuestionFourAnswerChoices,
2,
'The correct answer is location.');
attackQuestions.push(attackQuestionFour);

// 5 ATTACK
var attackQuestionFiveAnswerChoices = ['You look like a lonely variable, I\'d like to assign you as mine!', 'If I call your function name, will you return me your phone number?', 'Are you an Object constuctor? Because I want to build a relationship with you!', 'ALL OF THE ABOVE'];
var attackQuestionFive = new Question
('Which of the following is the cheesiest Javascript line?',
attackQuestionFiveAnswerChoices,
3,
'The correct answer is ALL OF THE ABOVE.');
attackQuestions.push(attackQuestionFive);

//6 ATTACK
var attackQuestionSixAnswerChoices = ['Packed data sets can not be processed differently.', 'Shared memory or thread level parallelism allow different parallel paths on multiple data', 'It returns a selection mask with API vectors', 'Typed arrays split implementation into buffers and views'];
var attackQuestionSix = new Question
('What is the downside of Single Instruction/Multiple data methods?',
attackQuestionSixAnswerChoices,
0,
'The correct answer is packed data sets can not be processed differently');
attackQuestions.push(attackQuestionSix);

//7 ATTACK
var attackQuestionSevenAnswerChoices = ['In the body section at the bottom', 'In your meta tag section', 'In the body section at the top','In your head section'];
var attackQuestionSeven = new Question
('Where is it best to put a CDN JavaScript reference in your HTML file?',
attackQuestionSevenAnswerChoices,
3,
'The correct answer is in your head section');
attackQuestions.push(attackQuestionSeven);

//8 ATTACK
var attackQuestionEightAnswerChoices = ['meow.txt touch', 'mkdir meow.txt', 'touch meow.txt', 'meow meow meow meow'];
var attackQuestionEight = new Question
('In Bash, how do you make new text file named meow?',
attackQuestionEightAnswerChoices,
2,
'The correct answer is touch meow.txt');
attackQuestions.push(attackQuestionEight);

//9 ATTACK
var attackQuestionNineAnswerChoices = ['style this.list', 'list-style-type', 'type-style-list','list-decoration'];
var attackQuestionNine = new Question
('How do you change the style of an unordered list in CSS?',
attackQuestionNineAnswerChoices,
1,
'The correct answer is list-style-type');
attackQuestions.push(attackQuestionNine);

console.log(attackQuestions);
//==========DEFENSE QUESTIONS==========

// 1 DEFENSE
var defenseQuestionOneAnswerChoices = ['2001', '2007', '2015', '2005'];
var defenseQuestionOne = new Question
  ('What year did the iPhone come out?',
  defenseQuestionOneAnswerChoices,
  1,
  '...Sorry! You\'re wrong. It was 2007...');
defenseQuestions.push(defenseQuestionOne);

// 2 DEFENSE
var defenseQuestionTwoAnswerChoices = ['<NAME>', '<NAME>', '<NAME>', 'Sigourney Weaver'];
var defenseQuestionTwo = new Question
  ('What is the name of the female lead actress in the movie Alien?',
  defenseQuestionTwoAnswerChoices,
  3,
  '...Oh no! You\'re wrong. It was Sigourney...');
defenseQuestions.push(defenseQuestionOne);

// 3 DEFENSE
var defenseQuestionThreeAnswerChoices = ['<NAME>', '<NAME>', '<NAME>', '<NAME>'];
var defenseQuestionThree = new Question
  ('Which author wrote the books, <NAME>, which was adapted to a major motion picture film?',
  defenseQuestionThreeAnswerChoices,
  3,
  '...Really? Come on. We made it easy. It was <NAME>.');
defenseQuestions.push(defenseQuestionOne);

//==========FINAL_QUESTION==========

var finalQuestionAnswerChoices = ['Earth', 'Skaro', 'Mondas', 'Gallifrey'];
var finalQuestion = new Question
('In Doctor Who, what is the home planet of the Daleks?',
finalQuestionAnswerChoices,
1,
'Turn on BBC right now...because that\'s wrong. It\'s Skaro');

//==========SCENES==========
var japan = new Scene (
  'Japan Year 1185',
  'images/japansmall.jpg');
console.log(japan);
locations.push(japan);

// TEMPLATE EXAMPLE
// parameters: (name, image)
// types: string, string
// var japan = new Scene (
//   'Japan Year 1185',
//   'images/japansmall.jpg');
// console.log(japan);
// locations.push(japan);

// RELATIVE FILE PATHS
// levels300sq/levels-sq-med-astronaut.jpg
// levels300sq/levels-sq-med-castle.jpg
// levels300sq/levels-sq-med-desert-orange.jpg
// levels300sq/levels-sq-med-desert-yellow.jpg
// levels300sq/levels-sq-med-field-tree.jpg
// levels300sq/levels-sq-med-field.jpg
// levels300sq/levels-sq-med-japan-temple.jpg
// levels300sq/levels-sq-med-mountain.jpg
// levels300sq/levels-sq-med-mt-rainier-day.jpg
// levels300sq/levels-sq-med-mt-rainier-distance.jpg
// levels300sq/levels-sq-med-mt-rainier-sunset.jpg
// levels300sq/levels-sq-med-night-stars.jpg
// levels300sq/levels-sq-med-space-station.jpg
// levels300sq/levels-sq-med-spaceship.jpg
// levels300sq/levels-sq-med-volcano.jpg

// levels150sq/levels-sq-sm-astronaut.jpg
// levels150sq/levels-sq-sm-castle.jpg
// levels150sq/levels-sq-sm-desert-orange.jpg
// levels150sq/levels-sq-sm-desert-yellow.jpg
// levels150sq/levels-sq-sm-field-tree.jpg
// levels150sq/levels-sq-sm-field.jpg
// levels150sq/levels-sq-sm-japan-temple.jpg
// levels150sq/levels-sq-sm-mountain.jpg
// levels150sq/levels-sq-sm-mt-rainier-day.jpg
// levels150sq/levels-sq-sm-mt-rainier-distance.jpg
// levels150sq/levels-sq-sm-mt-rainier-sunset.jpg
// levels150sq/levels-sq-sm-night-stars.jpg
// levels150sq/levels-sq-sm-space-station.jpg
// levels150sq/levels-sq-sm-spaceship.jpg
// levels150sq/levels-sq-sm-volcano.jpg

//==========HISTORICAL FIGURES==========

// This object defines the historical figure.
var einstein = new HistoricalFigure ('<NAME>', ['You do not really understand something unless you can explain it to your grandmother.', 'It is a miracle that curiosity survives formal education.'], 'Hello friend, my name is Albert and I’m here to assist you. Please click on a portal below to begin your journey to fix time. Yell E=MC2 as you jump into the portal!', ['images/albert.jpg', 'images/einstein2.jpg']);
console.log(einstein);
historicalFigures.push(einstein);

var bigfoot = new HistoricalFigure ('Bigfoot', ['', ''], '', ['figures300sq/figures-sq-med-bigfoot.jpg', '']);
console.log(bigfoot);
historicalFigures.push(bigfoot);

var darwin = new HistoricalFigure ('<NAME>', ['', ''], '', ['figures300sq/figures-sq-med-darwin-front.jpg', '']);
console.log(darwin);
historicalFigures.push(darwin);

var elizabeth = new HistoricalFigure ('Queen Elizabeth', ['', ''], '', ['figures300sq/figures-sq-med-queen-hat.jpg', '']);
console.log(elizabeth);
historicalFigures.push(elizabeth);

// TEMPLATE EXAMPLE
// parameters: (name, comments, intro, image)
// types: string, string, string, string array [small image, large image]
// var bigfoot = new HistoricalFigure ('Bigfoot', ['', ''], '', ['', '']);
// console.log(bigfoot);
// historicalFigures.push(bigfoot);

// RELATIVE FILE PATHS
// figures300sq/figures-sq-med-darwin-side.jpg
// figures300sq/figures-sq-med-queen-crown.jpg

// figures150sq/figures-sq-sm-bigfoot.jpg
// figures150sq/figures-sq-sm-darwin-front.jpg
// figures150sq/figures-sq-sm-darwin-side.jpg
// figures150sq/figures-sq-sm-queen-crown.jpg
// figures150sq/figures-sq-sm-queen-hat.jpg

//==========ENEMIES==========

var trex = new Enemy ('T-rex', 'images/trex.jpg', 'RAWWWRRRRR!!!');
console.log(trex);
enemies.push(trex);

var plesiosaur = new Enemy ('<NAME>', 'monsters300sq/monsters-sq-med-dinosaur.jpg', 'RAWWWRRRRR!!!');
console.log(plesiosaur);
enemies.push(plesiosaur);

var hitler = new Enemy ('<NAME>', 'monsters300sq/monsters-sq-med-hitler.jpg', 'Narp');
console.log(hitler);
enemies.push(hitler);

var kim = new Enemy ('<NAME>', 'monsters300sq/monsters-sq-med-kim.jpg', 'Missiles');
console.log(kim);
enemies.push(kim);

var robotLady = new Enemy ('Robot Lady', 'monsters300sq/monsters-sq-med-robot-lady.jpg', 'Wat');
console.log(robotLady);
enemies.push(robotLady);

// TEMPLATE EXAMPLE
// parameters: (name, image, speech)
// types: string, string, string
// var trex = new Enemy ('T-rex', 'images/trex.jpg', 'RAWWWRRRRR!!!');
// console.log(trex);
// enemies.push(trex);

// RELATIVE FILE PATHS

// monsters150sq/monsters-sq-sm-dinosaur.jpg
// monsters150sq/monsters-sq-sm-hitler.jpg
// monsters150sq/monsters-sq-sm-kim.jpg
// monsters150sq/monsters-sq-sm-robot-lady.jpg

{'fraction_non_alphanumeric': 0.14639443961772372, 'fraction_numerical': 0.01570063298994663, 'mean_word_length': 5.139047619047619, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 26, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5569882', 'n_tokens_mistral': 5393, 'n_tokens_neox': 4784, 'n_words': 1510}