<commit_before>// vice.c

#include "stdio.h"
#include "defs.h"
#include "stdlib.h"
#include "string.h"


#define WAC1 "r1b1k2r/ppppnppp/2n2q2/2b5/3NP3/2P1B3/PP3PPP/RN1QKB1R w KQkq - 0 1"
#define PERFT "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1"

int main(int argc, char *argv[]) {

	AllInit();

	S_BOARD pos[1];
    S_SEARCHINFO info[1];
    info->quit = FALSE;
	pos->HashTable->pTable = NULL;
    InitHashTable(pos->HashTable, 64);
	setbuf(stdin, NULL);
    setbuf(stdout, NULL);
    
    int ArgNum = 0;
    
    for(ArgNum = 0; ArgNum < argc; ++ArgNum) {
    	if(strncmp(argv[ArgNum], "NoBook", 6) == 0) {
    		EngineOptions->UseBook = FALSE;
    		printf("Book Off\n");
    	}
    }

	printf("Welcome to Vice! Type 'vice' for console mode...\n");
<commit_msg>Added some comments to vice.c<commit_after>/***************************************************************
 *****Virtue, a chess playing engine derived from VICE 1.1******
 ****Credit and thanks to BlueFeverSoft, developer of VICE******
 *******************Developed by <NAME>********************
 ******************Licensed under MIT License*******************
 ***************************************************************
 * FILE NAME: virtue.c                                         *
 * PURPOSE:                                                    *
 * Play chess in various capacities                            *
 *                                                             *
 ***************************************************************/

#include "stdio.h"
#include "defs.h"
#include "stdlib.h"
#include "string.h"


#define WAC1 "r1b1k2r/ppppnppp/2n2q2/2b5/3NP3/2P1B3/PP3PPP/RN1QKB1R w KQkq - 0 1"
#define PERFT "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1"

/* The main program loop */
int main(int argc, char *argv[]) {

	AllInit();

	S_BOARD pos[1];
    S_SEARCHINFO info[1];
    info->quit = FALSE;
	pos->HashTable->pTable = NULL;
    InitHashTable(pos->HashTable, 64);
	setbuf(stdin, NULL);
    setbuf(stdout, NULL);
    
    int ArgNum = 0;
    
    for(ArgNum = 0; ArgNum < argc; ++ArgNum) {
    	if(strncmp(argv[ArgNum], "NoBook", 6) == 0) {
    		EngineOptions->UseBook = FALSE;
    		printf("Book Off\n");
    	}
    }

	printf("Welcome to Vice! Type 'vice' for console mode...\n");

{'fraction_non_alphanumeric': 0.24495058014611087, 'fraction_numerical': 0.03953588311130211, 'mean_word_length': 2.7609046849757672, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1812292', 'n_tokens_mistral': 898, 'n_tokens_neox': 842, 'n_words': 176}