Skip to content

Instantly share code, notes, and snippets.

View lealgo's full-sized avatar

Leandro Álvarez González lealgo

View GitHub Profile
@lealgo
lealgo / Makefile
Created March 3, 2020 17:27
Rodent III Makefile
#makefile to compile Rodent III on Linux
PREFIX=/usr/local
#define the directory for the executable file
BINDIR = $(PREFIX)/bin
#define the directory for the data files
#SOURCEROOT=..
#DATADIR=$(SOURCEROOT)
DATADIR=$(PREFIX)/share/rodentIII
/***************************************************************************/
/* micro-Max, */
/* A chess program smaller than 2KB (of non-blank source), by H.G. Muller */
/***************************************************************************/
/* version 4.8 (~1900 characters) features: */
/* - recursive negamax search */
/* - all-capture quiescence search with MVV/LVA priority */
/* - (internal) iterative deepening */
/* - best-move-first 'sorting' */
/* - a hash table storing score and best move */