pouët.net

Go to bottom
This is the Life!
screenshot added by orac81 on 2025-05-02 17:08:27
platform :
type :
release date : may 2025
  • 0
  • 2
  • 0
popularity : 43%
 43%
  • 0.00
alltime top: #88563
added on the 2025-05-02 17:08:27 by orac81 orac81

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter pinterest tumblr bluesky threads

comments

DLIFE.ASM - The Classic game of Life. (C) A.Millett 2014-2025.

Released as free/open software under the terms of the GNU GPL3 license.
See: www.gnu.org/licenses/gpl-3.0.html

This is the classic "Game of Life", in 8086 assembly, for VGA PCs.
The DLIFEMIN.COM version is only 104 bytes. It could be a bit smaller
too, using di,si and instructions like loopnz, stosb etc.
The "min" version just generates random life until the user hits a key.

The main DLIFE.COM version has some simple edtiting commands:
C: Clear the screen
R: Fill screen with random data.
A: Auto run life (ENTER Stops)
ENTER: Step 1 generation
Cursor up/down/left/right: Move edit cursor
SPACE: Toggle current pixel.
ESC: Exit

The source code is included. The NASM assmebler is needed to compile it.
To assemble the code, use: NAS2COM dlife
or: NASM -f bin dlife.asm -o dlife.com

To make a very small version, I took a few short cuts. For instance,
the program should really "wrap" the top/bottom/left/right properly,
I just render the algorithm on the screen in one go, to a mem buffer.
Manybe the non-minimal version should do that, but it still works in
principle.
added on the 2025-05-02 17:11:26 by orac81 orac81
Neat. You should also look in the sizecoding scenes latest advances regarding the game of life, in 32 and 31 bytes
Game of Life 32b
Rrrolas Version 31b
added on the 2025-05-02 17:54:09 by HellMood HellMood

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment

Go to top