Skip to content

wyattferguson/gameoflife-gb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕹️ 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 heres how you can reach me:

📬 Email me at wyattxdev@duck.com

🍧 Follow on BlueSky @wyattf

🍹 Follow on Twitter @wyattxdev

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