<commit_before>#include <Arduboy.h>
#include "inferno_bitmaps.h"

// Arduboy ref
Arduboy arduboy;

// Player variables
int pX = 3;
int pY = 10;
int pSpeed = 2;

void setup() {
    arduboy.begin();
    arduboy.setFrameRate(30);

    //intro();
}

void intro()
{
  for(int i = -8; i < 28; i = i + 2)
  {
    arduboy.clear();
    arduboy.setCursor(30, i);
    arduboy.print("<NAME>");
    arduboy.display();
  }

  arduboy.tunes.tone(987, 160);
  delay(160);
  arduboy.tunes.tone(1318, 400);
  delay(2000);

  arduboy.clear();
}

// Deal with player button presses
void handleInput() {
  if (arduboy.pressed(RIGHT_BUTTON)) {
    pX += pSpeed;
  }
  else if (arduboy.pressed(LEFT_BUTTON)) {
    pX -= pSpeed;<commit_msg>Added debug mode flag<commit_after>#include <Arduboy.h>
#include "inferno_bitmaps.h"

// Debug mode makes some things quicker
bool DEBUG = false;

// Arduboy ref
Arduboy arduboy;

// Player variables
int pX = 3;
int pY = 10;
int pSpeed = 2;

void setup() {
    arduboy.begin();
    arduboy.setFrameRate(30);

    intro();
}

void intro()
{
  if(DEBUG) {
    return;
  }
  
  for(int i = -8; i < 28; i = i + 2)
  {
    arduboy.clear();
    arduboy.setCursor(30, i);
    arduboy.print("<NAME>");
    arduboy.display();
  }

  arduboy.tunes.tone(987, 160);
  delay(160);
  arduboy.tunes.tone(1318, 400);
  delay(2000);

  arduboy.clear();
}

// Deal with player button presses
void handleInput() {
  if (arduboy.pressed(RIGHT_BUTTON)) {
    pX += pSpeed;
  }
  else if (arduboy.pressed(LEFT_BUTTON)) {
    pX -= pSpeed;
{'fraction_non_alphanumeric': 0.16253263707571802, 'fraction_numerical': 0.04177545691906005, 'mean_word_length': 3.044854881266491, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '3454661', 'n_tokens_mistral': 710, 'n_tokens_neox': 630, 'n_words': 137}