Making RPG Browser Games
Minimum price
Suggested price

Making RPG Browser Games

Constructing Role-Playing Games as White-labeled "Content-as-a-Service" (CaaS) publications.

About the Book

Discover how to create Role-Playing games using the methods found in this single chapter from the "Phaser Game Starter Kit Collection". When you finish this chapter, you will have a production pipeline ready to create as many different RPG "Content-as-a-Service" (CaaS) games as your imagination can dream up! You'll also get bonus content, download examples, game variations, and source code references on how to do every single thing in this game design workbook, so you can copy and paste many examples into your productions and then modify those visual resources for your purpose. General Game Licenses are included. I would like to guide you in creating several types of RPG game mechanics as CaaS using an innovative approach from Headless Game Design. We will use these game mechanics, front-end mechanisms, and the development methods discussed in Headless Game Design. By the end of this workbook, you should have a fully functional "RPG" game - not just a copy of my game, but your very own product using your gaming assets. There is a supporting website where you can download the bonus content included with your workbook's purchase. This extraordinarily comprehensive guide will teach you how to: 

  • Use the Phaser JS Gaming Framework -- either v2.x.x or v3.16+ -- as your RPG "Front-end".
  • Integrate "RPG" game mechanics into "Content-as-a-Service" (CaaS) back-end services for "White Labeled" products!
  • Use your game as a data source for "Progressive Web Application" or "Single Page Web Application" for any device.
  • License access for your "Affiliated Business Network" and fans to generate bespoke modules and game expansions.
  • Generate various game board features automatically. If you have any feedback or suggestions please join our email listing or participate in the forum for this course!

About the Author

Stephen Gose
Stephen Gose

Avatar is an adorable cartoon sketch of my wife. 43nd anniversary this Sept 1!

Stephen Gose, Ph.D. Information Systems (honorary) (and second-generation German) is a retired Professor Emeritus with a 40-year career as a certified network engineer, and "Certified Cisco Academy Instructor" (CCAI) since 2002. He is listed in the Who's Who for Information Technology for his directly-related work for the Internet backbones found in the Caribbean, Netherlands, Israel, and Russia. He was awarded "Letters of Appreciation" from AT&T, the German, Israeli, Dutch, and Russian Governments. Steve has nearly three decades of international "teaching and conference lecturing" in both Local-Area and Wide-Area Networks, network security, Internet backbones, software engineering, and program/project management. He is a retired US Army Signal Corps Officer. He earned, in 2014, the ITT Technical Institute's "Instructor of the Year" out of 8,000 instructors across 144 campuses throughout the USA. 

He graduated from Grand Canyon University with his first B.A. in Religions and Music Education, then a B.S. in Business Admin. from the University of Maryland and an M.B.A in International Management from Liberty University. He is currently pursuing his Th.D. He has served as a licensed minister since 1972 and as a missionary to Okinawa, Japan. He earned the US Army Chaplains Outstanding service award in 1983. 

In his spare (?) time, Steve enjoys creating online casual games and managing his online gaming business. 

My driving theme: "Always stay humble and kind"

His personal website is:

His game showcase is:

His theology website:

Game Support Site:

Review my profile on

Table of Contents

    • Distribution Permission
      • Supporting website
    • Disclosures
    • Disclaimer
    • About this Workbook
      • Links and References
      • Workbook Content
      • How to Read & Use this workbook:
        • Viewing this eBook:
        • Who should use this workbook?
    • Your newly obtained skills…
    • Game Design System™
      • Game Studio - Book Series
      • Game Studio - Online Courses
      • “Making Browser Games” - Books Series
      • “Making Browser Games” Series - online Courses
      • Programming Courses
      • “Walk-Thru Tutorial” Series - Online Courses
  • Making RPG HTML5 Games
    • 1 “Game Design” Reviewed
      • 1.1 References From
      • 1.2 Traditional Game Design Reviewed
      • 1.3 Introduction: “Headless HTML5 Game Design”
      • 1.4 Why Design “Headless Game”?
      • 1.5 Deeper Dive: CaaS
      • 1.6 Game Genre Defined
      • 1.7 Role-Playing Genre Defined
        • Historical background
      • 1.8 Game Tools & Generators
        • Typical “Front-end” Tools
        • Typical “Back-end” Tools
    • 2 Design Considerations
      • 2.1 Project Considerations
      • 2.2 Select a Data Storage
        • Per-user storage
        • Database structure
        • Deeper Dive: Database Protection Considerations
      • 2.3 Selecting a Middleware Framework
        • Why Use Middleware?
        • How does Middleware work?
        • Middleware Selection Criteria
        • “Why are you using two different systems?”
        • Middleware Conclusion
      • 2.4 Select a Content Delivery Network (CDN)
      • 2.5 Game Mechanics (GM) — Logic & Rules
      • 2.6 Game Mechanics (GM) - Data Structure
      • 2.7 Consideration Summary
      • 2.8 Modeling your RPG
        • Excerpts from Phaser Game Design Workbook
    • 3 Development Workstation Setup
      • 3.1 Web Server Required - Batteries not included!
      • 3.2 Standardized File Structures
      • 3.3 Specific Back-end Editors Review
        • RPG CaaS “Back-end” File Structure
        • Traditional “Front-end SWPA” File Structure
      • 3.4 Barebones “Front-end” Set-up
    • 4 Starting the RPG Projects
      • 4.1 Project(s) “Overview”
      • 4.2 Installation Instructions
  • Part II: Making “Role-Playing CaaS” Games
    • 5 Step 1: “Access Doorways”
      • 5.1 Two “Front-end” Access Points
      • 5.2 Deeper Dive: Debugging PHP Source Code
      • 5.3 Log-ons, Registrations, and ACLs
        • Deeper Dive: Cross-site Request Forgery (csrf)
      • 5.4 RPG CaaS API Contracts
        • Choose an API Paradigm
      • 5.5 The “Back-end” (CaaS) Access
        • The Work Flow
      • 5.6 Step #1: Database Construction
    • 6 Step 2: Create Your Back-end Editors
      • 6.1 Admin Content Editor (ACE) (RAW Draft)
        • Adventure & Quests Editor (RAW Draft)
        • Interactive Stories Editor (RAW Draft)
  • Part III: Making the “Front-end” CMS!
    • 7 Game Recipe™
      • 7.1 Front-end Overview
      • 7.2 Step 0: Review your competition and their games
        • Game Examples
        • Front-end Game’s Featured Ingredients
    • 8 Step 1. Create Your “front-door”!
    • 9 Step 2. Create your “Game Shell” & Phases
      • 9.1 Network Impact
      • 9.2 Gamer’s Local Activity
      • 9.3 Select a “Front-end” JS Format
        • ES5 Format
        • ES6+ Format as “FAT Arrow” Function
        • ES6+ Format as “Phaser.Class”
        • ES6+ Format as “Phaser.Scene”
    • 10 Step 3: Create “Front-end Play.js” (RAW Draft)
    • 11 Step 4: Create Supporting Functions. (RAW Draft)
        • Deeper Dive: Callbacks & Events
    • 12 Traditional CMS Game Shell!
      • 12.1 Generic Main.js
      • 12.2 Generic Boot.js
      • 12.3 Generic Preload.js
      • 12.4 Generic Splash.js or Language.js
      • 12.5 Generic Menu.js
        • Sample CMS page — Credits.js
        • Deeper Dive: Using JAMStack as an SSG …
        • Deeper Dive: Static Site Generators (SSG)
      • 12.6 Inside each “Front-end” Game Phase
    • 13 Plug-in Enhancements
    • 14 Conclusion
    • 15 Bonus Development Content
  • What’s next?
      • 15.1 Game Distribution & Marketing
        • Introduction: 8-Step Deployment Method.
      • 15.2 Book Review Protocol
      • 15.3 Tell the world about your game!
  • Appendix
    • More Resources
      • JavaScript Garden
      • Additional Appendices
      • Other resources:
      • Selling your Game Assets
    • Appendix: Online Game Development
    • Appendix: Making WebXR Games!
    • Appendix: Phaser III Plugins
    • Appendix: “How to Start a WebSocket”
      • Testing Your Browser
      • WebSocket Protocol Handshake
        • Deeper Dive: WebSocket API
      • Sample Source Code: Client-side WebSocket
        • Step #1: Game index page
        • Step #2: Generate Event handlers
  • Appendix 2 — Back-end Systems
      • Game Services (Back-end)
      • Server-side Frameworks — the CMS
      • Production release version.
      • CodeIgniter & Phaser as an Integrated CMS
      • Recipe for a “CodeIgniter v3.x (CI3) CMS”
        • Deeper Dive: Authentication Systems using "Ion Auth" with CI3
        • Deeper Dive: Building a Fat-Free Framework (F3) for CI3
  • Notes

Authors have earned$10,260,929writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub