Skip to content

ms0g/doslife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Overview

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 MIT License. See the LICENSE file for details.

Credits

Developed by M. Sami Gürpınar