AI Engineer - Learn how to integrate AI into software applications
AI Product Expert Certification - Master Generative AI Skills
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore how Ruby on Rails can be transformed into a powerful game engine through this 35-minute conference talk from Rocky Mountain Ruby 2025. Discover the unconventional techniques and creative solutions used to develop Galactic Impact, a turn-based web MMO inspired by classic 90s "Space Empire 4X" games like Master of Orion and Pax Imperia. Learn how to leverage Rails' flexibility beyond standard CRUD applications by implementing dynamic SVG rendering as ActionController return formats, using StimulusJS controllers with SVG elements, and storing YAML serializations combined with Rails' attribute dirty tracking for combat after-action reports. Examine advanced techniques including Sidekiq batching for game-turn resolution sequencing, mixing integer and UUID primary keys to distinguish system objects from player-generated content, and utilizing Turbo Streams and Turbo Frames for responsive UI updates. Dive into PostGIS geometry-based database queries for efficient 2D map range calculations, modular behavior mechanisms, polymorphic user-feature unlocking systems, and Redis strategies for protecting user state during updates. Gain insights into how game-oriented product requirements can lead to innovative Rails solutions while maintaining the framework's core principles, and discover how familiar tools can be repurposed to create engaging gaming experiences without learning entirely new toolchains.
Syllabus
Rocky Mountain Ruby 2025 - Ruby on Rails is a Game Engine by Jonathan Woodard
Taught by
Confreaks