<commit_before>  console.log('activate framework!');

// Pseudocode?
// When player lands on page, load page as quickly as possible
      // do this using an Event Listener? -us jqery library load function - notated below

// Reveal card image once player clicks on card.

// Allow player to click on a max of 2 cards at a time.
      // Use a 'while loop'?

// Reveal card images of a max of 2 cards at a time.
// Player gains 1 entry for every 2 cards clicked.
// Player can keep playing until all card images have been matched
// Number of entries should be displayed.
      //currently no css or html displaying this

// If 2 consecutively clicked cards match, leave those 2 card images revealed and do not allow those cards to be clicked again.
// If 2 consecutively clicked cards do not match, hide revealed card images allow those cards to be clicked again.
// Once all 12 card images have been revealed and match, alert player with message of final entries.
//


//**********************************
//the following is the function to load the page using the jQuery first; "wait until DOM has finished loading and the load 'this' code."

// $(function(){

// code block here //

// })
//**********************************

//var counter = 0;


//writing a function that shuffles the array at the onset of every game and creates a new order for the classes in the array; using while loop until all indexes are set and then returns the new array.

var arr = [".women-code", ] //add in all the image class names in this variable;

function shuffle(array) {
  var currentIndex = array.length, temporaryValue, randomIndex ;

  // While there remain elements to shuffle...
  while (0 !== currentIndex) {

    // Pick a remaining element...
    randomIndex = Math.floor(Math.random() * currentIndex);
    currentIndex -= 1;

    // And swap it with the current element.
    temporaryValue = array[currentIndex];
    array[currentIndex] = array[randomIndex];
    array[randomIndex] = temporaryValue;
  }

  return array;
}

var $squares =$(".square");
// console.log($squares);

$squares.on("click", function(event) {<commit_msg>adding updated css and js files that now have prelim code that shuffles the array at the start of every game, need to still set image class names and urls<commit_after>  console.log('activate framework!');

// Pseudocode?
// When player lands on page, load page as quickly as possible
      // do this using an Event Listener? -us jqery library load function - notated below

// Reveal card image once player clicks on card.

// Allow player to click on a max of 2 cards at a time.
      // Use a 'while loop'?

// Reveal card images of a max of 2 cards at a time.
// Player gains 1 entry for every 2 cards clicked.
// Player can keep playing until all card images have been matched
// Number of entries should be displayed.
      //currently no css or html displaying this

// If 2 consecutively clicked cards match, leave those 2 card images revealed and do not allow those cards to be clicked again.
// If 2 consecutively clicked cards do not match, hide revealed card images allow those cards to be clicked again.
// Once all 12 card images have been revealed and match, alert player with message of final entries.
//


//**********************************
//the following is the function to load the page using the jQuery first; "wait until DOM has finished loading and the load 'this' code."

// $(function(){

// code block here //

// })
//**********************************

//var counter = 0; to create an entry counter


//writing a function that shuffles the array at the onset of every game and creates a new order for the classes in the array; using while loop until all indexes are set and then returns the new array.

var arr = [".women-code", ] //add in all the image class names in this variable;

function shuffle(array) {
  var currentIndex = array.length, temporaryValue, randomIndex ;

  // While there remain elements to shuffle...
  while (0 !== currentIndex) {

    // Pick a remaining element...
    randomIndex = Math.floor(Math.random() * currentIndex);
    currentIndex -= 1;

    // And swap it with the current element.
    temporaryValue = array[currentIndex];
    array[currentIndex] = array[randomIndex];
    array[randomIndex] = temporaryValue;
  }

  return array;
}

var $squares =$(".square");
// console.log($squares);

$squares.on("click", function(event) {
{'fraction_non_alphanumeric': 0.1150022593764121, 'fraction_numerical': 0.005422503389064619, 'mean_word_length': 3.352999016715831, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1937222', 'n_tokens_mistral': 1182, 'n_tokens_neox': 1112, 'n_words': 602}