Skip to content

Version 1 Flow mock

Mirv edited this page Apr 12, 2017 · 7 revisions

Note: Nothing of the game DSL should touch the devise user table!

Sign up

  1. User is created
  2. User record made
  3. above triggers a model filter_action to make dashboard record

Make campaign

  1. Set variable with dash_id
  2. Click new campaign & get redirected to that controller
  3. Either raw create of each table or
  4. or use scope chain around the collection in M:M dash ... player = current_user.dash.first.players.create!(screenname: "blah")
  5. create record with player.campplays.new(campaign_id: "x")

  1. Dash should display
  • Create campaign

  • Join campaign

    • Should provision a new default entry to be edited by player at later time
  • List of current campaigns to interact with

  • Player creation

    • Obvious create a player, if that succeeds ...
      • Making a player should assign it to both userplays
      • player should have link made to dashes (dashplayers join table)
Clone this wiki locally