<commit_before>package snake;

import javax.swing.JFrame;

public class Game extends JFrame implements Runnable {
  private Thread thread;
  private Screen screen;
  private boolean running = false;
  private final int UPS = 120;
  private InputHandler inputHandler;

  public Game() {
    super("Game Loop");

    screen = new Screen();
    add(screen);

    inputHandler = new InputHandler();
    addKeyListener(inputHandler);
    addFocusListener(inputHandler);

    pack();
    setLocationRelativeTo(null);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setVisible(true);<commit_msg>Change Frame title<commit_after>package snake;

import javax.swing.JFrame;

public class Game extends JFrame implements Runnable {
  private Thread thread;
  private Screen screen;
  private boolean running = false;
  private final int UPS = 120;
  private InputHandler inputHandler;

  public Game() {
    super("Snake");

    screen = new Screen();
    add(screen);

    inputHandler = new InputHandler();
    addKeyListener(inputHandler);
    addFocusListener(inputHandler);

    pack();
    setLocationRelativeTo(null);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setVisible(true);
{'fraction_non_alphanumeric': 0.08885163453478626, 'fraction_numerical': 0.005029337803855826, 'mean_word_length': 4.283185840707965, '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': '4359839', 'n_tokens_mistral': 342, 'n_tokens_neox': 324, 'n_words': 92}