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

namespace ChessGame.Project
{
    class Program
    {
        static void Main(string[] args)
        {
            Piece piece1 = new Piece();
            piece1.colour = Piece.Colour.white;
            piece1.name = Piece.Name.pawn;


            string[] rowArray = new string[8] { "1", "2", "3", "4", "5", "6", "7", "8" };
            string[] colArray = new string[8] { "a", "b", "c", "d", "e", "f", "g", "h" };
            int numberOfPositions = new int();
            numberOfPositions = rowArray.Length * colArray.Length;
            string[] positions = new string[numberOfPositions];
            int i = new int();
            i = 0;
            for (int r = 0; r < rowArray.Length; r++)
            {
                for (int c = 0; c < colArray.Length; c++)
                {
                    positions[i++] = rowArray[r]+colArray[c];
                }
            }

            for (int j = 0; j < numberOfPositions; j++)
            {
                Console.WriteLine(positions[j]);
            }
            Console.ReadLine();
            //var piece = Piece.Colour.white;
            //piece.
<commit_msg>Print positions with reversed rows<commit_after>﻿using ClassLibrary1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChessGame.Project
{
    class Program
    {
        static void Main(string[] args)
        {
            Piece piece1 = new Piece();
            piece1.colour = Piece.Colour.white;
            piece1.name = Piece.Name.pawn;


            string[] rowArray = new string[8] { "1", "2", "3", "4", "5", "6", "7", "8" };
            string[] colArray = new string[8] { "a", "b", "c", "d", "e", "f", "g", "h" };
            int numberOfPositions = new int();
            numberOfPositions = rowArray.Length * colArray.Length;
            string[] positions = new string[numberOfPositions];
            int i = new int();
            i = 0;
            for (int r = 0; r < rowArray.Length; r++)
            {
                for (int c = 0; c < colArray.Length; c++)
                {
                    positions[i++] = rowArray[r] + colArray[c];
                }
            }



            int j1 = new int();//Print positions with reversed rows (intuitive layout).
            for (int j = 7; j > -1; j--)
            {
                j1 = 8 * j;
                for (int k = 0; k < 8; k++)
                {
                    Console.Write(positions[j1++] + " ");
                }
                Console.WriteLine();
            }
            Console.ReadLine();

            /*
            int j1 = new int();
            j1 = 0;
            for (int j = 0; j < 8; j++)
            {
                for (int k = 0; k < 8; k++)
                {
                    Console.Write(positions[j1++] + " ");
                }
                Console.WriteLine();
            }
            Console.ReadLine();
            */

            //var piece = Piece.Colour.white;
            //piece.

{'fraction_non_alphanumeric': 0.14078740157480316, 'fraction_numerical': 0.016062992125984252, 'mean_word_length': 1.3352941176470587, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 4, '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': '7043326', 'n_tokens_mistral': 957, 'n_tokens_neox': 909, 'n_words': 245}