Author: Dieter Buerssner
Date: 12:40:50 07/29/03
Go up one level in this thread
On July 29, 2003 at 15:31:11, Tord Romstad wrote: >This is getting increasingly off-topic, but I cannot resist the temptation >to post the cutest little C program I have ever seen. It computes an >approximation of pi by calculating its own area. :-) I know that program. Really amazing. And very clever. One can even understand it after a while. Basically it calculates the area of the source code. So, a real scientific way of calculating pi. With a larger source, the approximation would be better. On could draw a cycle on a piece of paper, and fill it with the used pattern. 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). Regards, Dieter
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.