Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Any reason to use C?

Author: Zach Wegner

Date: 00:25:54 07/31/03

Go up one level in this thread


On July 29, 2003 at 16:29:41, Russell Reagan wrote:

>On July 29, 2003 at 15:40:50, Dieter Buerssner wrote:
>
>>On www.iocc.org, one can even find chess related programs. IIRC, one recent
>>winner was some variant of chess (bughouse?).
>>
>>One of my other favorites was a Basic interpreter in 25 lines or so, that could
>>play lunar lander (anybody can remember that game? We had it on one Commodore
>>computer in the late 70ties).
>
>I remember the program to solve the 8-queens problem. All I know is, it worked
>:)
>
>Anyone have any idea what the smallest source code is to a program that plays
>legal chess? I would guess playing other, simpler games would allow for smaller
>code, since chess has all of those special cases.

Currently, I am writing such a program for fun and in anticipation of the next
IOCCC (when?). It plays both sides, searches 4ply in about a sec, and displays
board in 24 lines of <=80 chars of C code. No castling, ep, underpromotion,
reps, or 50 move rule, so is it really legal chess?



This page took 0.01 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.