Conway's Game of Lifeby qbguyCALL ABSOLUTE version -- for QB 1.1: http://www.network54.com/Forum/178387/message/1206228707/CONWAY%27S+GAME+OF+LIFE+--+call+absolute+version CALL INTERRUPT version -- for compiling with QB 7.1, QB 4.5, or QB64 (when it supports CALL INTERRUPT, which will probably be earlier than it supports CALL ABSOLUTE): http://www.network54.com/Forum/178387/message/1206228118/Conway%27s+Game+of+Life+--+CALL+INTERRUPT+VERSION Use the mouse to set up the initial position. Right click when you are done. The program will then iterate through 100 generations, pausing 0.2 seconds between generations. You can have it skip to the next generation without pausing by pressing a key or clicking or you can have it exit by pressing escape. The universe of the Game of Life is an infinite two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, live or dead. Every cell interacts with its eight neighbours, which are the cells that are directly horizontally, vertically, or diagonally adjacent. At each step in time, the following transitions occur:
from IP address 75.9.218.72 |
| Response Title | Author and Date |
| And do what? (URL*) | on Mar 22 |
| Version with Better Instructions | qbguy on Mar 23 |
| More Patterns | qbguy on Mar 23 |
| Now that's better | on Mar 24 |
| * How did you get the screen 40 * 80 instead of 24 * 80, or something? | drew on Mar 23 |
| Use the width statement: WIDTH 80, 50 or WIDTH 80, 43 | qbguy on Mar 23 |
| * Guess what you forgot? | Asterisk Police on Mar 23 |
| * Thanks, QBguy =] worked perfectly | drew on Mar 23 |
| If I made an EXE with WIDTH in it, would it be compatable on different computers? | drew on Mar 23 |
| * I don't know if Vista's broken NTVDM supports WIDTH or not | qbguy on Mar 23 |
| Vista and WIDTH in a console. | Pete on Mar 23 |