Micro-Max (chess engine)

Micro-Max (chess engine)
Micro-Max
Developer(s) H.G. Muller
Stable release 4 / January 26, 2007[1]
Operating system Windows
Type Chess engine
Website Micro-Max Main Page

Micro-Max (µ-Max) is a chess engine developed by Dutch H.G. Muller, born in 1956. The program is written in C and according to IOCCC rules it is 1088 characters, not counting ; { } nor leading spaces and line feeds. The author claims that it is the smallest non-trivial chess engine in existence.

The source code for Micro-Max and other chess variant engines is available.[2]

Contents

Versions

  • Micro-Max Micro (1180 characters)[3]
  • Micro-Max 1.6 (1433 characters)
  • Micro-Max 3.2 (2000 characters)
  • Micro-Max 4.0 (1752 characters)
  • Micro-Max 4.4 (1865 characters)
  • Micro-Max 4.8 (1953 characters)[4]

Source code sample

main()
{
 int k=8,*p,c[9],d;
 
 F(X,0,8)
 {b[X+V]=(b[X]+=16)-8;b[X+16]=18;b[X+96]=9;
  F(Y,0,8)b[16*Y+X+8]=(X-4)*(X-4)+(Y-3.5)*(Y-3.5);
 }
 
 W(1)
 {F(N,0,121)printf(" %c",N&8&&(N+=7)?10:n[b[N]&15]);
  p=c;W((*p++=getchar())>10);
  if(*c-10){X=*c-16*c[1]+C;Y=c[2]-16*c[3]+C;}else
  {d=6;N=0;W(N<1e6)D(k,-I,I,Q,8,d++);}
  if(D(k,-I,I,Q,9,2)==I)k^=24;
 }
}

References

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Chess engine — A chess engine is a computer program that can play the game of chess. Contents 1 Interface 2 Protocols 3 Increasing strength 4 Comparisons …   Wikipedia

  • Index of chess articles — Contents 1 Books 2 General articles 2.1 0–9 2.2 A …   Wikipedia

  • Schachprogramm — a b c d e f g h …   Deutsch Wikipedia

  • List of Sega Mega Drive games — This is an alphabetized list of 915 released games for the Sega Mega Drive/Genesis video game console. This list only identifies released games. Prototypes and other games that never saw an official release for the Mega Drive/Genesis are not… …   Wikipedia

  • List of MS-DOS games — This is an unexhaustive list of games available for the MS DOS operating system, organized alphabetically by name.See Lists of video games for related lists.0 9* 1 0 Soccer Manager Wizard Games of Scotland (1992) * 1 Ton Martin Magnusson (1996) * …   Wikipedia

  • Jeux Vidéo M — 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z …   Wikipédia en Français

  • Jeux video M — Jeux vidéo M 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z …   Wikipédia en Français

  • Jeux vidéo M — 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z …   Wikipédia en Français

  • Jeux vidéo m — 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z …   Wikipédia en Français

  • Список игр на Sega Mega Drive — Список видеоигр для 16 битной игровой приставки Sega Mega Drive/Genesis, упорядоченный по алфавиту в соответствии с английским названием. См. также список компьютерных и видеоигр. Содержание 1 0 9 2 A 3 B 4 C …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”