Coder Social home page Coder Social logo

create-your-own-adventure's Introduction

Collaborative Create-Your-Own-Adventure

This is an example repo that illustrates the concept of a "Pull Request", created as part of the Udacity course How to Use Git and GitHub. In the create-your-own-adventure story the reader chooses what action to take and turns to an appropriate page of the story based on their choice. It is collaborative because it is written one small piece at a time by many authors. To start reading the story, click here.

Format of the Story

Each "page" of this story is a separate file. The files are Markdown, which means they are plain text, but with a few special capabilities. The only Markdown capability used in this story is links. By putting text in brackets and a URL in parentheses, you can add a link to the story. For example, the following text would turn "here" into a link to Google:

Click [here](http://www.google.com) to visit Google.

Contribution Guidelines

Make Appropriately Sized Changes

Try to keep your change small. Part of the fun of a collaborative story is that no one person writes very much of it! On the other hand, please don't add an option without adding any story for readers who choose that option, or the story will soon be full of dead links. Instead, the last .md file the reader reaches on any path of the story should not have any options. For an example, see this file from an early version of the story. Here are some examples of appropriate changes:

  • Add a sentence or two to an existing "page" (file) of the story.
  • Add a new option to an existing choice point, and link that option to an existing "page".
  • Add a new option to an existing choice point, create a new "page" for that option, and add a sentence or two to the new "page".
  • Add a couple of options to a current dead-end "page", and add a "page" or link to an existing "page" for each option.

Directory Structure

We expect that this repository will eventually contain quite a few files, so we have a unique directory structure that we'd like contributors to follow to help keep things organized.

Each "page" in the story should have its own directory with a single Markdown file. The name of the Markdown file should reflect the subject of the file. For example, the first "page" is at the top of the repository, and it is named language.md because in it, the reader selects their language.

When you add a new option to an existing "page", you should add the file for that new option in a subdirectory of the file that links to it. For example, when I added the option to eat the walls on the "page" english/marshmallow.md, I created a new directory called english/eating-walls/, and a new file within that directory called english/eating-walls/eating-marshmallows.md.

Use Relative Links

The links in this file should be relative links so that they will still work if the repository is forked. View the language.md file for an example of relative links. (Click the "Raw" button to view the text that creates the links.) You can also use .. to refer to the parent of the current directory if necessary.

Line Length

Please keep all lines to 120 characters or fewer. Otherwise, the raw files will be difficult to read in the browser or on the command line, and changes will be harder to review.

Blank Lines Between Options

Insert blank lines between different options so that the options will be visually separated.

Avoid Using Markdown Features

Other than links, please only use plain text in your story and not the other features of Markdown. We want it to be easy to read the raw files even for people who don't know Markdown.

License

The content of this repository is licensed under a Creative Commons Attribution License

create-your-own-adventure's People

Contributors

aberdean avatar arsacues avatar bkapsalis avatar bobby-driscoll avatar bsgama avatar casey-collab avatar cbuckey-uda avatar cousi2344 avatar croworc avatar drithin avatar iiifilo avatar jamesplayfair avatar kevglynn avatar knaguilar avatar kostasdimakis avatar kvo180 avatar l-e-webb avatar lagracia avatar madralino avatar manoj85 avatar mkusm avatar pa2nther avatar pepness avatar pmallory avatar rambo001 avatar ryanxwolton avatar showeirh avatar sjaakvandenberg avatar urlord2089 avatar vanleuvenze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

create-your-own-adventure's Issues

language.md contains both CRLF and LF endings

It seem like the language.md file contains both CRLF (windows style) and LF (Linux style) endings. This causes merge issues. It seems like above the horizontal rule is CRLF and below the horizontal rule is LF

Lack of blank line at end of file can cause failure of added material

Love the idea. But... I noticed that:

Numerous pages end without a blank line under the content. New material cannot be added below the current content, since adding a line is the equivalent of deleting the current last line and rewriting it with a line return.

To prevent this, Casey could perhaps be modified to automatically add a blank line to the end of a page, or could require that a blank line be added before resubmission.

Question mark removal

There are several question marks that needs to be removed in the file 大话西游.md

bash crash

I forked the sefaria repo and then cloned it.
It was taking a long time, so I closed git bash.
Then when I tried to restart git bash, it flashed opened for a second, but then closed right away.
Please can you help me fix it?

Is casey-collab not working?

It has been nearly a month since the last commit. What happened? And also, my own commit is not getting auto-merged?

@casey-collab Is not merging

Looking in other issues it seems the bot has stopped working. Can someone from udacity do a manual merge on PR#8077?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.