<commit_before>export default function move(player, cursors, fireButton, game) {

  player.body.velocity.x = 0;

  if(cursors.left.isDown) {
    player.body.velocity.x = -350;
  }
  if(cursors.right.isDown) {
      player.body.velocity.x = 350;
  }
}




// console.log(dude, cursors)
  // dude.body.velocity.x = 0;
  //
  // if (cursors.left.isDown)
  // {
  //   //  Move to the left
  //   dude.body.velocity.x = -150;
  //
  //   dude.animations.play('left');
  // }
  // else if (cursors.right.isDown)
  // {
  //   //  Move to the right
  //   dude.body.velocity.x = 150;
  //
  //   dude.animations.play('right');
  // }
  // else
  // {
  //   //  Stand still
  //   dude.animations.stop();
  //
  //   dude.frame = 4;
  // }
  //
  // //  Allow the dude to jump if they are touching the ground.
  // if (cursors.up.isDown && dude.body.touching.down)
  // {
  //   dude.body.velocity.y = -350;
  // }<commit_msg>removed commented out code in moves module<commit_after>export default function move(player, cursors, fireButton, game) {

  player.body.velocity.x = 0;

  if(cursors.left.isDown) {
    player.body.velocity.x = -350;
  }
  if(cursors.right.isDown) {
      player.body.velocity.x = 350;
  }
}
{'fraction_non_alphanumeric': 0.18001651527663087, 'fraction_numerical': 0.02064409578860446, 'mean_word_length': 2.0, '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': '3908436', 'n_tokens_mistral': 500, 'n_tokens_neox': 460, 'n_words': 81}