<commit_before>var db = require('./../db/config');
var request = require('request');
var User = require('./../db/db').User;

//easy, medium, hard, insane
var easy = [
  // 'sum-of-multiples',
  // 'name-on-billboard',
  // 'fix-your-code-before-the-garden-dies',
  // 'printing-array-elements-with-comma-delimiters',
  // 'function-1-hello-world',
  'multiply',
  'jennys-secret-message',
  'multiply',
  'jennys-secret-message'
];

var medium = [
  // 'wheel-of-fortune',
  // 'special-multiples',
  'multiply',
  'jennys-secret-message',
  'dna-sequence-tester',
  'i-love-big-nums-and-i-cannot-lie',
  'exes-and-ohs'
];

module.exports.saveUser = function(req, res) {
    console.log(req.body);
    var newUser = {
       user_id: req.body.user_id,
       username: req.body.nickname,
       firstname: req.body.given_name,
       lastname: req.body.family_name,
       email: req.body.email,
       picture: req.body.picture<commit_msg>(fix) Include original game choices for easy mode<commit_after>var db = require('./../db/config');
var request = require('request');
var User = require('./../db/db').User;

//easy, medium, hard, insane
var easy = [
  'sum-of-multiples',
  'name-on-billboard',
  'fix-your-code-before-the-garden-dies',
  'printing-array-elements-with-comma-delimiters',
  'function-1-hello-world'
];

var medium = [
  // 'wheel-of-fortune',
  // 'special-multiples',
  'multiply',
  'jennys-secret-message',
  'dna-sequence-tester',
  'i-love-big-nums-and-i-cannot-lie',
  'exes-and-ohs'
];

module.exports.saveUser = function(req, res) {
    console.log(req.body);
    var newUser = {
       user_id: req.body.user_id,
       username: req.body.nickname,
       firstname: req.body.given_name,
       lastname: req.body.family_name,
       email: req.body.email,
       picture: req.body.picture
{'fraction_non_alphanumeric': 0.18691588785046728, 'fraction_numerical': 0.0010995052226498076, 'mean_word_length': 3.0176600441501105, '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': '4527934', 'n_tokens_mistral': 687, 'n_tokens_neox': 673, 'n_words': 104}