Информационный сервер для программистов: Исходники со всего света. Паскальные исходники со всего света
  Powered by Поисковый сервер Яndex: Найдется ВСЁ!
На Главную Pascal Форум Информер Страны мира
   Графические Игры    >>    3dlife
   
 
 Life Game in Three Dimensions   Larry Eckelkamp 28.12.1988

Графическая игра "ЖИЗНЬ" в 3-х измерениях.
Можно закомментировать следующую строчку в самом начале главной программы:
if RegisterBGIDriver(@EGAVGADriverProc) < 0 then halt;
A program to play John Conway's Life in three dimensions. Based on BGI graphics.



8k 
 

6/24/88: A program to play John Conway's Life in three dimensions. Idea, algorithm, and explanation from Scientific American, February 1987, Computer Recreations column. Implementation copyright(c) 1988 L.G. Eckelkamp. Please feel free to modify the source code as you see fit. I don't suppose anything can be more like public domain than LIFE variations, so do whatever makes you happy with it. This was originally written using Turbo Pascal 4.0 and it compiles just fine using 5.0 without any changes. Just a few comments on the source code... Modify it as you like. Distribute as you like. I wouldn't object to getting suitable credit for my efforts, crude as they might be. I would very much like to see someone figure out a better display scheme, showing a more advantageous perspective or perhaps a more pronounced differential from back-to-front that gives a better visual sense of depth. If anyone does do this, I'd LOVE to get the code. Although as written a VGA is required, it should be a simple matter to alter it for another graphics card. I wonder, though, how well a CGA card could handle it. The code was written using an IBM PS/2 Model 50 with the IBM 8513 monitor. The resolution of the display and speed of the program seem pretty reasonable. I haven't seen it run on anything else. Any comments should be Easyplexed to me; the Borland Forums tend to scroll by far too quickly for my habits. My user ID is 73220,2107. Larry Eckelkamp December 28, 1988