Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wtjones/game-of-life-gb

Conway's Game of Life for the Game Boy
https://github.com/wtjones/game-of-life-gb

Last synced: about 1 month ago
JSON representation

Conway's Game of Life for the Game Boy

Awesome Lists containing this project

README

        

# game-of-life.gb

An implementation of [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_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](https://github.com/rednex/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](https://docs.microsoft.com/en-us/windows/wsl/install-win10), 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](https://github.com/DonaldHays/rgbds-vscode) VS Code extension

* [BGB](http://bgb.bircd.org/) emulator/debugger for the Game Boy

## Resources

* [Awesome Game Boy Development](https://github.com/avivace/awesome-gbdev)