<commit_before>namespace GameSharp
{
    public class Game
    {
        public void Run()
        {
            System.Console.WriteLine("Hello World");
            System.Console.ReadKey();
        }
    }
}
<commit_msg>Add main loop<commit_after>using System;

namespace GameSharp
{
    public class Game
    {
        bool isExiting = false;
        
        public void Exit()
        {
            isExiting = true;
        }

        public void Run()
        {
            while (!isExiting)
            {
                Console.WriteLine("Press Esc");
                while (Console.KeyAvailable)
                {
                    var cki = Console.ReadKey(true);
                    if (cki.Key == ConsoleKey.Escape)
                        Exit();
                }
                System.Threading.Thread.Sleep(200);
            }
        }
    }
}

{'fraction_non_alphanumeric': 0.09122401847575058, 'fraction_numerical': 0.003464203233256351, 'mean_word_length': 1.1094890510948905, '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': '2848737', 'n_tokens_mistral': 235, 'n_tokens_neox': 218, 'n_words': 45}