Bill Niblock
d7bd464310
Gemspec: Add demo tree file to included files
2017-10-30 00:39:20 -04:00
Bill Niblock
5c71b1dd27
Add .gem to gitignore
2017-10-30 00:25:39 -04:00
Bill Niblock
ed521bfbcd
Sapling: Add functionality for web and demo
...
- Web: Add `serve` functionality, which starts a simple Rack application
to serve a template page. Template still needs work.
- Demo: add `example` option, which starts the CLI using the "Example
Quest!" tree
2017-10-30 00:22:31 -04:00
Bill Niblock
522c23b206
Greenhouse: Simple Rack application
2017-10-30 00:22:00 -04:00
Bill Niblock
090a65ed8a
Update Gemfile.lock
2017-10-30 00:21:44 -04:00
Bill Niblock
0c18f3cc80
Cleanup testing files
2017-10-30 00:20:46 -04:00
Bill Niblock
a3f9f5598b
ERB Template for Rack server
2017-10-28 22:08:38 -04:00
Bill Niblock
d15a0c92ca
Start working with Rack
2017-10-28 22:08:16 -04:00
Bill Niblock
50b59b0d2f
Add .ruby-version
2017-10-28 22:07:16 -04:00
Bill Niblock
b31c9d0048
Organize Gemfile
2017-10-28 22:07:00 -04:00
Bill Niblock
a856736739
Update Gem -> Version 0.1.2
2017-10-19 00:48:15 -04:00
Bill Niblock
ce2eb89b44
dialogue.rb: Rubocop ABC fixes
2017-10-19 00:44:41 -04:00
Bill Niblock
c6c9522a18
Update gem
2017-10-19 00:26:35 -04:00
Bill Niblock
54f23625a8
sapling.rb: Fix argument passing
...
Accidentially moved the debug argument to the Gardner invokation,
instead of leaving with the Dialogue invokation.
2017-10-19 00:21:03 -04:00
Bill Niblock
bd45e60bb7
utility.rb: Rubocop fixes
2017-10-19 00:20:21 -04:00
Bill Niblock
e85a882851
dialogue.rb: Rubocop fixes and refactor changes
...
- Fix several Rubocop problems
- Update module for gardner refactor
- Update all tree references to now reference Gardner::Plot object
2017-10-19 00:19:14 -04:00
Bill Niblock
6e16b250a5
gardner.rb: Rubocop fixes and refactor changes
...
- Fix several rubocop problems
- Update module to more fully encapsulate all dialogue tree handling
- Add Plot class for storing all tree data
- Add Digiplot class for (eventual) tree editing
2017-10-19 00:18:07 -04:00
Bill Niblock
8700f307a7
sapling.rb: Rubocop and refactor updates
...
- Fix several rubocop violations
- Update functionality to account for gardner refactor
2017-10-18 23:46:00 -04:00
Bill Niblock
321ce557d8
Update YARD docs
2017-10-14 23:40:38 -04:00
Bill Niblock
119786aad6
Merge pull request #9 from VagabondAzulien/readme_edit
...
README update
2017-10-14 23:34:02 -04:00
Bill Niblock
58bef10e22
README: Add Travis Badge
2017-10-14 23:22:22 -04:00
Bill Niblock
69f189ce59
README: Update with new and corrected information
2017-10-14 23:06:29 -04:00
Bill Niblock
8683c02448
Update gem name
2017-10-14 22:52:22 -04:00
Bill Niblock
e3f400fd06
Gemfile: Add thor dependency
2017-10-14 22:36:43 -04:00
Bill Niblock
ad3ccc267b
Add sapling executable
2017-10-14 22:35:51 -04:00
Bill Niblock
7a7f06485f
sapling.rb: Update for gemspec
...
- Modify required gems in accordance with re-org
- Fix minor logic bug for 'read' command
- Remove start command; placed into executable in bin/
2017-10-14 22:34:21 -04:00
Bill Niblock
a37b089074
Add gemspec
2017-10-14 22:33:46 -04:00
Bill Niblock
4e2432ac66
Re-org...again... for gemspec
2017-10-14 22:33:21 -04:00
Bill Niblock
9575160f29
Implement Thor
...
- Remove old sapling.rb file
- Add new directory bin/
- Add new version of sapling.rb
2017-10-14 21:47:01 -04:00
Bill Niblock
4f0a6a11fb
Merge pull request #8 from VagabondAzulien/editor
...
Editor
2017-10-14 15:25:19 -04:00
Bill Nibz
4b930fb67b
Sapling: Dynamic local requires
2017-10-14 15:15:54 -04:00
Bill Nibz
b7cea51f7a
Planter: Modify conditional logic
2017-10-14 15:15:38 -04:00
Bill Nibz
ca5ddf7baf
Re-organization
2017-10-14 15:14:41 -04:00
Bill Nibz
dfc4117527
Planter: Gardner to Dialogue
2017-10-14 14:39:11 -04:00
Bill Nibz
783fb886fd
Gardner: Remove display functionality
2017-10-14 14:38:41 -04:00
Bill Nibz
d0ebc37923
Dialogue: Move display back in
2017-10-14 14:38:19 -04:00
Bill Niblock
7b1b0541c1
planter.rb: Implement branch desc. editing
2017-05-21 15:56:12 -04:00
Bill Niblock
1af5c9a53c
planter.rb: Improve editor and options
...
- Editor: Enable trunk editing
- General: Add value for Gardner debug mode
- General: Improve visability of option chosen
- General: Improve display
2017-05-14 14:13:50 -04:00
Bill Niblock
78f9837b5a
dialogue.rb: Add debug value for Gardner
2017-05-14 14:13:20 -04:00
Bill Niblock
03d09105f3
gardner.rb: Add debug options and information
2017-05-14 14:12:32 -04:00
Bill Niblock
4b33abcd75
planter.rb: Implement editor logic
...
- Added flow for working with editor:
- Allow for changing branches
- Recognize all options, with ease of implementing more
- Allow for exiting the editor
- Move assignment into initialize
2017-05-13 19:45:19 -04:00
Bill Niblock
1c6206c3cd
dialogue.rb: Move assignments into initialize
2017-05-13 19:43:48 -04:00
Bill Niblock
4c726b079d
sapling.rb: Modify start options
...
- Reduce some LOC by moving some assignments into the initialize functions of
both Dialogue and Planter
2017-05-13 19:42:42 -04:00
Bill Niblock
2e2fea9e58
dialogue.rb: Update comment
2017-05-13 15:55:42 -04:00
Bill Niblock
802074a513
planter.rb: Utilize display code now in Gardner
2017-05-13 15:01:28 -04:00
Bill Niblock
280d016d38
gardner.rb: Move display code from dialogue
2017-05-13 15:00:36 -04:00
Bill Niblock
5f7da9d55a
dialogue.rb: Refactor display code
...
- Dialogue should be responsible for the flow of a tree,
not displaying parts of it. With the exception of the prompt, all
display responsibilities fall to Gardner
2017-05-13 14:59:16 -04:00
Bill Niblock
ccf8a3b5f6
planter.rb: Style refactor updates
2017-05-07 23:52:13 -04:00
Bill Niblock
a2dd7e3b1c
gardner.rb: Refactor
...
- Remove functionality that doesn't belong in this module:
- Move printing of trunk to the dialogue class
- Remove tree generation entirely; let other modules generate trees as
they need them
- Style formatting
2017-05-07 23:49:12 -04:00
Bill Niblock
e27cd43e7c
dialogue.rb: Refactor
...
- Abstract functionality from talk into individual functions:
- display_trunk: Displays the trunk of the branch.
- display_branch: Displays the branch and option list
- get_response: Displays the conversation prompt, and gets the
response
- Of note, this allows the editor to make use of talk functionality
2017-05-07 23:46:19 -04:00