/doslife

Conway's Game of Life on MS-DOS

Primary LanguageC++GNU General Public License v2.0GPL-2.0

doslife: Conway's Game of Life in 16-bit Real Mode

Conway's Game of Life is a zero-player game that simulates cellular automaton behavior, meaning that its evolution is determined by its initial state, requiring no further input from the player. This implementation displays the game in real-time on a DOS terminal using VGA mode 13h graphics. Each character on the screen represents a cell, either alive or dead, that evolves based on its neighbors.

image

Rules

  • A live cell that has live neighbors below 2 or above 3 dies.
  • A dead cell that has 3 live neighbors becomes a live cell.

Prerequisites

  • Turbo C++ (>= 3.0)
  • Turbo Assembler (>= 3.2)
  • DOSBox or a real DOS computer

Building

C:\>MAKE.EXE

Run

C:\>DOSLIFE.EXE

License

This project is licensed under the GPL-2.0 License. See the LICENSE file for details.

Credits

Developed by M. Sami Gürpınar