open-hardware

Hoani Bryson develops Go-based engine for Nokia 3310 hardware emulation

Key Takeaway

A new open source game engine written in Go allows games to run on both web browsers and custom Raspberry Pi-based Nokia 3310 hardware.

Summary

Developer Hoani Bryson won a Nokia 3310 Jam by creating a custom PCB based on Raspberry Pi to run the game Trick Shot II. To achieve cross-platform compatibility, Bryson developed an open source engine using Go, Ebitengine for web/desktop, and TinyGo for embedded hardware. The engine abstracts game logic from hardware-specific functions like display, sound, and input.

Technical implementation of the Go engine

  • Uses Go as the primary language.
  • Leverages Ebitengine for desktop and web targets.
  • Utilizes TinyGo for embedded device support.
  • Implements a modular architecture requiring three methods: Setup, Update, and Draw.
  • Separates core game logic from platform-specific hardware drivers.

Why it matters

The project demonstrates how modern open source tools like TinyGo can be used to bridge the gap between web-based software and legacy hardware emulation.

Original reference: blog.adafruit.com →