Giving the Nokia 3310 a New Lease on Life
By Nick Bild
The Nokia 3310 was one of the most popular mobile phones of its time, but its gaming capabilities were quite limited. Its monochrome display had a resolution of just 84×48 pixels, and audio came from a simple buzzer. Those limitations didn't stop developers from creating games for the phone, and they're still inspiring new projects more than two decades later. Developer Hoani Bryson recently built a custom game engine and replacement circuit board that make it possible to run new games on old Nokia 3310 phones. Bryson designed a game called Trick Shot II using the engine for the eighth Nokia 3310 Jam, a game development competition that challenges participants to create games within the limitations of the original phone. Entries must use an 84×48 monochrome display, a single buzzer for audio, and no more than 12 buttons for gameplay. Bryson's entry took first place out of 51 submissions. Rather than develop the game only for an old platform that few still have access to, Bryson built it to run both in a web browser and on physical hardware. To accomplish that, he created an open source game engine written in Go and built around two existing technologies: Ebitengine for desktop and web applications, and TinyGo for embedded devices. The engine separates game logic from platform-specific hardware functions to keep things neat. Developers implement three primary methods: Setup, Update, and Draw. The engine then handles display output, sound generation, and button input according to the target platform. Its drawing API supports text, geometric shapes, sprites, and dithering effects. Images are converted into PBM data that can be embedded directly into program memory, reducing RAM requirements. An 8×8 threshold map provides dithering, allowing the monochrome display to approximate grayscale graphics. Bryson also developed display shaders that simulate the original LCD's pixel appearance and response time, making the desktop version look more like the real hardware. Even though the game is quite limited, Bryson's engine isn't about to run on a phone manufactured in 2000. For this reason, he designed a custom PCB that is powered by a Raspberry Pi Pico development board. It interfaces with an original Nokia display and the existing keypad, so it feels like original hardware once this new PCB is installed and the case is closed back up. Both the game engine and replacement PCB designs are available on GitHub, giving developers the resources to create their own games for this classic phone. With modern hardware inside and a new development platform, it looks like the Nokia 3310 still has plenty of life left in it.A replacement PCB for the Nokia 3310 (📷: Hoani Bryson) An early hardware prototype (📷: Hoani Bryson)
Originally published by
Hackster News ↗
· rebuilt here from its own full-text RSS feed · all rights
remain with the publisher, please read and support them there.
↑ Back to top