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

namespace Yavalath
{
	public class Game
	{
		private Board GameBoard;
        public Player CurrentPlayer { get; private set; }

        private IDictionary<Player, int> Players;

		public Game (Player player1, Player player2)
		{
			GameBoard = new Board();
            Players = new Dictionary<Player, int>(){
                {player1, -1},
                {player2, 1}
            };

            CurrentPlayer = player1;
		}

        private void NextPlayer() 
        {
<commit_msg>Adding next player selection<commit_after>using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;

namespace Yavalath
{
	public class Game
	{
		private Board GameBoard;
        public Player CurrentPlayer { get; private set; }

        private IDictionary<Player, int> Players;

		public Game (Player player1, Player player2)
		{
			GameBoard = new Board();
            Players = new Dictionary<Player, int>(){
                {player1, -1},
                {player2, 1}
            };

            CurrentPlayer = player1;
		}

        private void NextPlayer() 
        {
            var next = Players.Where(p => p.Value != Players[CurrentPlayer]).Select(p => p.Key);
            CurrentPlayer = next;
{'fraction_non_alphanumeric': 0.09424083769633508, 'fraction_numerical': 0.010471204188481676, 'mean_word_length': 2.2634146341463413, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '1846030', 'n_tokens_mistral': 381, 'n_tokens_neox': 353, 'n_words': 107}