SlideShare a Scribd company logo
1 of 64
Download to read offline
Cross-Platform
Game Development
    With Rails
  Insights from the trenches
cauê
   guerra
   @caueguerra
caue@uken.com
[demo]
25 million
 installs
2 engines
8 titles
top 25
why HTML5?
iPhone
                Android


iPad
                                  1. reaches
                    Blackberry
                                 more people
         Facebook
2. easy to add
new features
3. easier to
 maintain
before we get
  started...
myths
[demo]
front-end tricks
1. loading screen
2. sprites
3. adapt
4. creating maps
http://www.mapeditor.org/
architecture
SDKs
           ads

       notifications
game
          auth

        payments

            ...
REST Services

                        ads
game
                    notifications

game                   auth
       API calls
                     payments
game
                         ...
REST Services

            ads
game
        notifications

game       auth

         payments
game
             ...
engine
                                    API calls



engine   engine   engine   engine     engine

game     game     game     game        game

assets   assets   assets   assets     assets
let’s dig in...
Payments




user makes a purchase
                        device            provider
                                 validation




                                 game
Payments




user makes a purchase
                        device                provider

                                 validation




                           service



                            game
user auth

user does not need username/password
    device has udid/uuid/android_id


                         users
         Game            devices

                          auth
what if I want to
know which users play more than one game?
what if I want to
change the auth logic?
auth system




credentials                 user_id




                 game
user



            account                   account



   device                  device      device


identifier     identifier   identifier   identifier
use as few SDKs as
      possible
prefer server-to-server
      integrations
backend tricks
1. retry silently
2. features on/off
3. roll-out plan
final tips
1. make it social
2. engage your users in
    the first minutes
3. A/B test as much as
        you can
4. have an awesome
    support team
in conclusion
1. it is just a webapp
2. it doesn’t need to be
        too fancy
3. a good idea is
better than good
     graphics
4. you can do it
Thank you!
Questions?
uken.com/jobs

More Related Content

Similar to Cross Platform Game Development with Rails

HeroCloud: The Next Generation Solution to Online Game Development
HeroCloud: The Next Generation Solution to Online Game Development HeroCloud: The Next Generation Solution to Online Game Development
HeroCloud: The Next Generation Solution to Online Game Development HeroEngine
 
Introduction to brainCloud - Sept 2014
Introduction to brainCloud - Sept 2014Introduction to brainCloud - Sept 2014
Introduction to brainCloud - Sept 2014Paul Winterhalder
 
Designing a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile gamesDesigning a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile gamesiFunFactory Inc.
 
Intro to Game Development & Operations on AWS
Intro to Game Development & Operations on AWSIntro to Game Development & Operations on AWS
Intro to Game Development & Operations on AWSAmazon Web Services
 
Làm thế nào để phát triển ứng dụng trên MXH Zing Me
Làm thế nào để phát triển ứng dụng trên MXH Zing MeLàm thế nào để phát triển ứng dụng trên MXH Zing Me
Làm thế nào để phát triển ứng dụng trên MXH Zing Meaction.vn
 
Zing Open Platform APIs
Zing Open Platform APIsZing Open Platform APIs
Zing Open Platform APIszingopen
 
Portland vr-meetup-deck-final-shareable
Portland vr-meetup-deck-final-shareablePortland vr-meetup-deck-final-shareable
Portland vr-meetup-deck-final-shareableIntel® Software
 
Unity Class 13 Presentation - .
Unity Class 13 Presentation -           .Unity Class 13 Presentation -           .
Unity Class 13 Presentation - .TaydeMCruz
 
Zing OpenPlatform APIs
Zing OpenPlatform APIsZing OpenPlatform APIs
Zing OpenPlatform APIswe20
 
Dynamic Encounters for Veteran Players Using Machine Learning (GAM305) - AWS ...
Dynamic Encounters for Veteran Players Using Machine Learning (GAM305) - AWS ...Dynamic Encounters for Veteran Players Using Machine Learning (GAM305) - AWS ...
Dynamic Encounters for Veteran Players Using Machine Learning (GAM305) - AWS ...Amazon Web Services
 
Lessons Learned and Best Practices for Game Development in the Cloud
Lessons Learned and Best Practices for Game Development in the CloudLessons Learned and Best Practices for Game Development in the Cloud
Lessons Learned and Best Practices for Game Development in the Cloudsarahnovotny
 
Behind the Scenes: Deploying a Low-Latency Multiplayer Game Globally
Behind the Scenes: Deploying a Low-Latency Multiplayer Game GloballyBehind the Scenes: Deploying a Low-Latency Multiplayer Game Globally
Behind the Scenes: Deploying a Low-Latency Multiplayer Game GloballyJames Gwertzman
 
Ticket To Ride from Elevate UK
Ticket To Ride from Elevate UKTicket To Ride from Elevate UK
Ticket To Ride from Elevate UKKeir Bowden
 
Project Darkstar - Perpetual Entertainment presentation at the 2007 Austin Ga...
Project Darkstar - Perpetual Entertainment presentation at the 2007 Austin Ga...Project Darkstar - Perpetual Entertainment presentation at the 2007 Austin Ga...
Project Darkstar - Perpetual Entertainment presentation at the 2007 Austin Ga...Chris Melissinos
 
Introduction to Game Engine: Concepts & Components
Introduction to Game Engine: Concepts & ComponentsIntroduction to Game Engine: Concepts & Components
Introduction to Game Engine: Concepts & ComponentsPouya Pournasir
 
Game engines and Their Influence in Game Design
Game engines and Their Influence in Game DesignGame engines and Their Influence in Game Design
Game engines and Their Influence in Game DesignPrashant Warrier
 
Identity as a Matter of Public Safety
Identity as a Matter of Public SafetyIdentity as a Matter of Public Safety
Identity as a Matter of Public SafetyAdam Lewis
 
Saas webinar-dec6-01
Saas webinar-dec6-01Saas webinar-dec6-01
Saas webinar-dec6-01Paul Madsen
 
How MADFINGER is leading next-gen multiplayer mobile FPS games - Unite Copenh...
How MADFINGER is leading next-gen multiplayer mobile FPS games - Unite Copenh...How MADFINGER is leading next-gen multiplayer mobile FPS games - Unite Copenh...
How MADFINGER is leading next-gen multiplayer mobile FPS games - Unite Copenh...Unity Technologies
 

Similar to Cross Platform Game Development with Rails (20)

HeroCloud: The Next Generation Solution to Online Game Development
HeroCloud: The Next Generation Solution to Online Game Development HeroCloud: The Next Generation Solution to Online Game Development
HeroCloud: The Next Generation Solution to Online Game Development
 
NFT Metaverse Game Development
NFT Metaverse Game DevelopmentNFT Metaverse Game Development
NFT Metaverse Game Development
 
Introduction to brainCloud - Sept 2014
Introduction to brainCloud - Sept 2014Introduction to brainCloud - Sept 2014
Introduction to brainCloud - Sept 2014
 
Designing a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile gamesDesigning a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile games
 
Intro to Game Development & Operations on AWS
Intro to Game Development & Operations on AWSIntro to Game Development & Operations on AWS
Intro to Game Development & Operations on AWS
 
Làm thế nào để phát triển ứng dụng trên MXH Zing Me
Làm thế nào để phát triển ứng dụng trên MXH Zing MeLàm thế nào để phát triển ứng dụng trên MXH Zing Me
Làm thế nào để phát triển ứng dụng trên MXH Zing Me
 
Zing Open Platform APIs
Zing Open Platform APIsZing Open Platform APIs
Zing Open Platform APIs
 
Portland vr-meetup-deck-final-shareable
Portland vr-meetup-deck-final-shareablePortland vr-meetup-deck-final-shareable
Portland vr-meetup-deck-final-shareable
 
Unity Class 13 Presentation - .
Unity Class 13 Presentation -           .Unity Class 13 Presentation -           .
Unity Class 13 Presentation - .
 
Zing OpenPlatform APIs
Zing OpenPlatform APIsZing OpenPlatform APIs
Zing OpenPlatform APIs
 
Dynamic Encounters for Veteran Players Using Machine Learning (GAM305) - AWS ...
Dynamic Encounters for Veteran Players Using Machine Learning (GAM305) - AWS ...Dynamic Encounters for Veteran Players Using Machine Learning (GAM305) - AWS ...
Dynamic Encounters for Veteran Players Using Machine Learning (GAM305) - AWS ...
 
Lessons Learned and Best Practices for Game Development in the Cloud
Lessons Learned and Best Practices for Game Development in the CloudLessons Learned and Best Practices for Game Development in the Cloud
Lessons Learned and Best Practices for Game Development in the Cloud
 
Behind the Scenes: Deploying a Low-Latency Multiplayer Game Globally
Behind the Scenes: Deploying a Low-Latency Multiplayer Game GloballyBehind the Scenes: Deploying a Low-Latency Multiplayer Game Globally
Behind the Scenes: Deploying a Low-Latency Multiplayer Game Globally
 
Ticket To Ride from Elevate UK
Ticket To Ride from Elevate UKTicket To Ride from Elevate UK
Ticket To Ride from Elevate UK
 
Project Darkstar - Perpetual Entertainment presentation at the 2007 Austin Ga...
Project Darkstar - Perpetual Entertainment presentation at the 2007 Austin Ga...Project Darkstar - Perpetual Entertainment presentation at the 2007 Austin Ga...
Project Darkstar - Perpetual Entertainment presentation at the 2007 Austin Ga...
 
Introduction to Game Engine: Concepts & Components
Introduction to Game Engine: Concepts & ComponentsIntroduction to Game Engine: Concepts & Components
Introduction to Game Engine: Concepts & Components
 
Game engines and Their Influence in Game Design
Game engines and Their Influence in Game DesignGame engines and Their Influence in Game Design
Game engines and Their Influence in Game Design
 
Identity as a Matter of Public Safety
Identity as a Matter of Public SafetyIdentity as a Matter of Public Safety
Identity as a Matter of Public Safety
 
Saas webinar-dec6-01
Saas webinar-dec6-01Saas webinar-dec6-01
Saas webinar-dec6-01
 
How MADFINGER is leading next-gen multiplayer mobile FPS games - Unite Copenh...
How MADFINGER is leading next-gen multiplayer mobile FPS games - Unite Copenh...How MADFINGER is leading next-gen multiplayer mobile FPS games - Unite Copenh...
How MADFINGER is leading next-gen multiplayer mobile FPS games - Unite Copenh...
 

Recently uploaded

Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 

Recently uploaded (20)

Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 

Cross Platform Game Development with Rails