Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Bren Cavallo - Choose your own adventure#3

Open
bcavallo wants to merge 6 commits into
cuny-nytech:masterfrom
bcavallo:master
Open

Bren Cavallo - Choose your own adventure#3
bcavallo wants to merge 6 commits into
cuny-nytech:masterfrom
bcavallo:master

Conversation

@bcavallo
Copy link
Copy Markdown

@bcavallo bcavallo commented Oct 6, 2014

Hi Aidan,

Here is my choose your own adventure book which is in the file advbook.rb. I wasn't able to figure out how to have a file from ruby read variables (as opposed to just text) from another file, so for now everything (the Pages class, the story itself, and everything else) is all in the main file. I'll ask how to fix this in class. Hopefully I'll have a chance to work on this tomorrow or later this week. Also, I wasn't able to finish the story, but the book itself should be in close to final form aside from all this messiness.

I was asked on short notice to give an extra talk this week (my third talk altogether) and then unexpectedly had to revise a paper on short notice for publication. This is the first time all of this has happened to such a crazy degree, so in the end I wasn't able to finish the story, although the file and story will still run. Also, I didn't see anything about submitting the website, but here is what I have so far, bcavallo.github.io .

Thanks a bunch,

Bren

@bcavallo
Copy link
Copy Markdown
Author

Hi, I updated everything. The only issue with rubocop is mostly declaring global variables. I was having trouble reading from other files when I didn't do that. I guess there is a better way?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant