<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EatMySnake.Core.Prototypes
{
    class SnakePrototype : ISnake
    {
        public int BodyLength
        {
            get { throw new NotImplementedException(); }
        }

        public void Bite(SnakePrototype bitedSnake)
        {
            //fire event: eventBus.Publish(new SnakeBitedEvent(this, bitedSnake))
            bitedSnake.LooseTail();
            this.Grow();
        }

        private void Grow()
        {
            throw new NotImplementedException();
        }

        private void LooseTail()
        {
            throw new NotImplementedException();
        }
    }

    /*
     * snake spawns event like: moved to coordina
     */

    interface ISnake
    {
        int BodyLength { get; }
    }


    class BattlePrototype
    {
        public event EventHandler NextTurn;

        public void OnNextTurn(EventArgs e)
        {<commit_msg>Renamed LooseTail() to Decrease()<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EatMySnake.Core.Prototypes
{
    class SnakePrototype : ISnake
    {
        public int BodyLength
        {
            get { throw new NotImplementedException(); }
        }

        public void Bite(SnakePrototype bitedSnake)
        {
            //fire event: eventBus.Publish(new SnakeBitedEvent(this, bitedSnake))
            bitedSnake.Decrease();
            this.Grow();
        }

        private void Grow()
        {
            throw new NotImplementedException();
        }

        private void Decrease()
        {
            throw new NotImplementedException();
        }
    }

    /*
     * snake spawns event like: moved to coordina
     */

    interface ISnake
    {
        int BodyLength { get; }
    }


    class BattlePrototype
    {
        public event EventHandler NextTurn;

        public void OnNextTurn(EventArgs e)
        {
{'fraction_non_alphanumeric': 0.07823470411233702, 'fraction_numerical': 0.0, 'mean_word_length': 1.7941176470588236, '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': '356139', 'n_tokens_mistral': 567, 'n_tokens_neox': 551, 'n_words': 133}