<commit_before>#include "builder.h"
#include "entity/board.h"

/**
 * A small board has 4 cells, and its layout is a square.
 * 1 ----- 2
 * |       |
 * |       |
 * |       |
 * 4 ----- 3
 */
int builder_create_small_board(s_board *b)
{
	int c;
	uint8_t nb_max_players;

	nb_max_players = 4;
	init_board(b, SMALL_BOARD_NB_CELLS, nb_max_players);

	for (c = 0; c < SMALL_BOARD_NB_CELLS; c++) {
		b->cells[c].neighbours[0] = &b->cells[(SMALL_BOARD_NB_CELLS + c - 1) % SMALL_BOARD_NB_CELLS];
		b->cells[c].neighbours[1] = &b->cells[(c + 1) % SMALL_BOARD_NB_CELLS];
		b->cells[c].nb_neighbours = 2;
	}

	return nb_max_players;
}
<commit_msg>Revert "players number changed, for some tests"<commit_after>#include "builder.h"
#include "entity/board.h"

/**
 * A small board has 4 cells, and its layout is a square.
 * 1 ----- 2
 * |       |
 * |       |
 * |       |
 * 4 ----- 3
 */
int builder_create_small_board(s_board *b)
{
	int c;
	uint8_t nb_max_players;

	nb_max_players = 2;
	init_board(b, SMALL_BOARD_NB_CELLS, nb_max_players);

	for (c = 0; c < SMALL_BOARD_NB_CELLS; c++) {
		b->cells[c].neighbours[0] = &b->cells[(SMALL_BOARD_NB_CELLS + c - 1) % SMALL_BOARD_NB_CELLS];
		b->cells[c].neighbours[1] = &b->cells[(c + 1) % SMALL_BOARD_NB_CELLS];
		b->cells[c].nb_neighbours = 2;
	}

	return nb_max_players;
}

{'fraction_non_alphanumeric': 0.16996951219512196, 'fraction_numerical': 0.019817073170731708, 'mean_word_length': 3.3049180327868855, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '3655663', 'n_tokens_mistral': 653, 'n_tokens_neox': 586, 'n_words': 108}