How a Ruby on Rails backend can be viable for a mobile real time strategy game?
summary
Battleplans is a mobile RTS that runs attacker commands live while defenders use pre-recorded defense plans so the server only needs to receive attacker actions, compute outcomes, store a replay and award results. The backend uses Ruby on Rails on 3 servers plus a custom batch JSON endpoint that consolidates dozens of fetches into one request to handle flaky mobile networks, avoid WebSockets, and keep consistency; this design proves viable in production.
AI-written summary · about
chapters (7)
- 0:00Introduction to Better Plants
- 3:41Technology selection strategy
- 6:06Game design mechanics
- 8:26Asynchronous match structure
- 12:36Backend architecture challenges
- 15:47Implementing batch requests
- 21:35Conclusion and Q&A
related talks
35mRuby on Rails is a Game Engine
28mBuilding in Rails, Backbone, and CoffeeScript
56mScaling Rails API to Write-Heavy Traffic
23mVR backend rails vs serverless: froth or future?
28mReal-Time Rails
31mThere Is No Server
45mTips and Tricks for Tweaking and Using Ruby and Rails...
07mBuilding Real-Time App with React/Redux/Rails/RethinkDB
