a 1433 character chessengine

  

Back to forum


Normajean Yates    (2008-11-25)
a 1433 - character chess-engine!

http://home.hccnet.nl/h.g.muller/umax1_6.c

If deciphering *a little bit* obscure C code is not your cup of tea, explanations are at:

http://home.hccnet.nl/h.g.muller/max-src2.html


Don Groves    (2008-11-25 09:36:53)
1433 char chess engine

He should have sent it in to one of the contests where the object is to guess what the program does. Likely a easy winner...


Rodolfo d Ettorre    (2008-11-25 11:54:03)
1433 Char Chess Engine

It compiles with mingw32 as a windows console application I used Dev-c++, which is a freeware ide that wraps the mingw compiler ...


Normajean Yates    (2008-11-25 20:27:58)
Don, no it wouldnt...

Have you seen some of the 'obfuscated c contest' winning entries? Those programs are deliberately obfuscated: while in these ones the obfuscation is a side effect of the goal of keeping program size small.

Now if someone could also incorporate Q-search and forward pruning and the 'standard' extensions within 5000 characters...

On a side note: program optimisation [below algorithm level] also obfuscates code - I know: I was consulted as program optimisation specialist from 1988-1991. But *there* one *keeps* the original slow-but-structured version, only commented out. In fact, one '#define's a boolean switch in a small file; so that with a one-character change in that file one can switch between the structured code and and the fast code.


Thibault de Vassal    (2008-11-25 21:05:07)
micro-Max

Very impressive :)


Normajean Yates    (2008-11-25 22:07:41)
thanks rodolfo...

for compiling to windows-console code I used to use djgpp, the GPL dos port of gcc [gnu c/c++ compiler]- but starting windows 98SE specially graphics programs complied with djgpp dont work any more ... I'll try mingw32 + Dev-c++..