wyattferguson / gameoflife-gb

A Game Boy port of Conway's Game of Life

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🕹️ Conway's Game of Life - Game Boy Edition

This is a working version of Conway's Game of Life for the classic Game Boy. Simply fire up your favorite Game Boy emulator and load the game.gb file. All the details of how the Game of Life works can be found here

t1 t2 t3 t4

🚀 Coding for the Game Boy

For curious its built with GBDK 2020 and heres the GBDK 2020 C Guidelines this will walk you through some of the limitations and tricks to make C run effeciently on the Game Boy. So if your wondering why so many things are globals or alive_neighbours doesnt use loops, or why I avoid using mods and other math functions its because the game boy hardware really doesnt like those things.

Since the Game Boy has a limit on how many sprites can be displayed on a line, the entire simulation works by moving background tiles around similar to how tetris works.

📮 Contact & Support

Created by Wyatt Ferguson

For any questions or comments you can send them to me on my socials:

🍧 Follow on Mastodon @wyattxdev@mastodon.social

🍹 Follow on Twitter @wyattxdev

If you find this useful and want to tip me a little coffee money:

Buy Me A Coffee


About

A Game Boy port of Conway's Game of Life


Languages

Language:C 99.6%Language:Batchfile 0.4%