Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Creating adventures using data access

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 models
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 adventure.rb
Octocat-spinner-32 rakefile.rb
README.md

Episode 5 - Choose Your Own Adventure

Creating adventures using data access

Panda Assignment

  1. The pages need a Preview. Add a preview to the page. For example, "Go into the Forest", which is your choice when selecting A or B.
  2. Edit the content so it's very clear if I'm a winner (I get 30 gold!) or a loser (Eaten by sharks!? bummer!)

Tiger Assignment

  1. Extract the Page.creates out into a db/seed.rb file and load it
  2. Create a two step workflow. This has an intro page with two selections, each of which lead to a conclusion

Eagle Assignment

  1. Refactor so that the page doesn't have a parent -- instead it stores the id's of its options (option_a_id, option_b_id)
  2. Cross the paths so that there is a common page that you'll reach in the 3rd tier

License

Copyright Jesse Wolgamott 2012, MIT License. See LICENSE

Something went wrong with that request. Please try again.