Skip to content

Instantly share code, notes, and snippets.

@garyttierney
Last active December 24, 2017 01:03
Show Gist options
  • Select an option

  • Save garyttierney/541b4daa6067090ff4b1b6c6bfb76409 to your computer and use it in GitHub Desktop.

Select an option

Save garyttierney/541b4daa6067090ff4b1b6c6bfb76409 to your computer and use it in GitHub Desktop.
VTT D&D

Components

Login + Resource Server

Problems:

  1. Allowing integration with other services (D&D Beyond, Orcpub)
  2. Locking non-free content (user created / WOTC deal?)

Solutions:

  1. Allow connecting accounts from other services using OAuth2
  2. Use OAuth2 to build a resource server that restricts access to content

Game Client

Problems:

  1. Tracking movement and turn-order during encounters
  2. Reducing visibility of the map to players
  3. GM reaction on certain events
  4. Adjusting map/page changes before showing to players

Solutions:

  1. Maps with collision (and lighting) boundaries to make use of path-finding, integrated with character sheet for movement and initiative
  2. FoV algorithm to hide tiles of the map that are out of sight (optional collision integration)
  3. Pre-scriped actions using a scripting language
  4. Rollback/commit on map transformations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment