<commit_before>﻿using System;
using System.Diagnostics;

namespace _2048
{
    public class Cell
    {
        private int _value;

        public int Value
        {
            get
            {
                return _value;
            }
            set
            {
                if (value == 2 && WasDoubled)
                    Debugger.Break();
                _value = value;
            }
        }

        private bool _wasDoubled;

        public bool WasDoubled
        {
            get
            {
                return _wasDoubled;
            }
            set
            {
                if (value == true && _value == 2)
                    Debugger.Break();
                _wasDoubled = value;
            }
        }

        public bool WasCreated { get; set; }
        public int X { get; set; }
        public int Y { get; set; }

        public Tuple<int, int> MovedFrom { get; set; }

        public Cell(int X, int Y)
        {
            this.X = X;
            this.Y = Y;<commit_msg>Tidied Cell class<commit_after>﻿using System;

namespace _2048
{
    public class Cell
    {
        public int Value { get; set; }

        public bool WasDoubled { get; set; }

        public bool WasCreated { get; set; }
        public int X { get; set; }
        public int Y { get; set; }

        public Tuple<int, int> MovedFrom { get; set; }

        public Cell(int X, int Y)
        {
            this.X = X;
            this.Y = Y;
{'fraction_non_alphanumeric': 0.08458390177353342, 'fraction_numerical': 0.0068212824010914054, 'mean_word_length': 1.0661971830985915, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6028369', 'n_tokens_mistral': 432, 'n_tokens_neox': 407, 'n_words': 122}