6.S185
Retro Game Development:
Making Games for the Game Boy

this is a class running in IAP 2027, about making homebrew games for the Nintendo Game Boy handheld game console (the original one, from 1989). the focus of the class will be a mix of Game-Boy-specific stuff, and game design more generally. we'll explore these things by making a few small games from the ground up in SM83 assembly, which will be playable in Game Boy emulators or on the Game Boy itself.

everyone who finishes the class will leave with a cartridge containing one of their games, playable on original hardware.

prerequisites

this class is mainly aimed at students with a decent programming background but who have never programmed for the Game Boy before, though you're certainly welcome even if you do have prior retro game development experience.

textbook / reference

we'll make heavy use of the following fantastic resources from the folks in the Game Boy Development Community:

everything else you need will be provided in class or through this website.

software

we're going to use the following tools, all of which are Free/Libre Software:

these tools should all be readily available on GNU/Linux and Mac; if you're running on Windows, your best bet is probably using WSL.

open hardware

the cartridge pcb distributed at the end of the class (available under a CC-BY-SA license) was made in KiCad, with thanks to Jay van Hutten for providing the outline and edge connector in this template. you can download the source here: cartridge_pcb.zip

the plastic shells for the cartridges (also available under CC-BY-SA) are a very slight modification of a design by Dave Parker, edited in OpenSCAD to remove geometry that would otherwise obscure the silkscreen image on the pcb. you can download the source code here: cartridge_shell.scad

the cartridge was designed to be re-flashable using software like FlashGBX, so it should be easy to update it if you continue working on your games after iap ends. i've only tested these cartridges with the GBxCart RW, but i expect they would work with other flashers as well. note, though, that it only supports cartridge type 0 (32kB ROM only, no MBC).

ai policy

this class is intended for humans. i don't care at all if claude can make a Game Boy game; i want to help you learn to make them. making games, especially on such a constrained platform, is both a fun technical challenge and a fantastic outlet for creative expression; i hope for you to be able to take pride in developing a deep understanding of a system, and in using that understanding to build something that is uniquely yours, essentially from scratch.

even if we were to ignore the ethical, legal, societal, environmental, economic, political, educational, and humanitarian concerns raised by generative ai and pretend like llms and the like are just neutral tools with no downsides, they still wouldn't be a fit here, since using them would undercut all of the goals of the class. as such, using generative ai is not allowed for any part of the class (including code, graphics, audio, documentation, debugging, optimization, brainstorming game ideas, etc.). this includes advanced code-completion tools like copilot, not just llm's.

contact

if you're interested in taking the class or have questions about it, feel free to drop me a line: hz@mit.edu.