Skip to content

wtjones/game-of-life-gb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

game-of-life.gb

An implementation of Conway's Game of Life for the Game Boy, written in LR35902 (Z80-like) assembler

Implementation

Uses the standard current/sucessor buffer approach. Each cell = 1 bit.

A faux framebuffer approach is used. A large grid size is possible, but optimizations are needed.

Building

The Game Boy assembler RGBDS is needed.

Linux/Mac OS

Build and install as specified on the RGBDS project site.

Run make -B

Windows

From the shell for the Windows Subsystem for Linux, install RGBDS.

Run either make from the WSL shell or wsl make -B from PowerShell.

Test Mode

framebuffer tests

- flood fill: `make test1 -B`

Output

Build targets are created in folder build. These include:

  • rom file
  • debug symbols

Tools

  • RGBDS Z80 VS Code extension

  • BGB emulator/debugger for the Game Boy

Resources

About

Conway's Game of Life for the Game Boy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages