Giter Club home page Giter Club logo

adventuretimechallenge's Introduction

AdventureTimeChallenge

Open xcode and create and app where you have to make choices to get to a final path. You have to consume a JSON file and represent it either on a CollectionView, Table View or a Navigation. View system. The user has to be available to get to a final statement and return to the main statement if they get lost.

{
  "statement": {
    "id": "Q61435",
    "displayText": "This is a dimly lit forest, with large trees all around.",
    "choices": [
      {
        "id": "A69244",
        "sequenceNumber": 0,
        "displayText": "Go South",
        "statement": {
          "id": "Q65963",
          "displayText": "Storm-tossed trees block your way."
        }
      },
      {
        "id": "A69245",
        "sequenceNumber": 1,
        "displayText": "Go East",
        "statement": {
          "id": "Q65964",
          "displayText": "You are in a clearing, with a forest surrounding you on all sides. A path leads south.",
          "choices": [
            {
              "id": "A69246",
              "sequenceNumber": 0,
              "displayText": "Go North",
              "statement": {
                "id": "Q65965",
                "displayText": "The forest becomes impenetrable to the north."
              }
            },
            {
              "id": "A69247",
              "sequenceNumber": 1,
              "displayText": "Go South",
              "statement": {
                "id": "Q65966",
                "displayText": "You are standing in an open field west of a white house, with a boarded front door.",
                "choices": [
                  {
                    "id": "A69248",
                    "sequenceNumber": 1,
                    "displayText": "Go East",
                    "statement": {
                      "id": "Q65967",
                      "displayText": "The door is boarded and you can't remove the boards."
                    }
                  },
                  {
                    "id": "A69249",
                    "sequenceNumber": 0,
                    "displayText": "Go North",
                    "statement": {
                      "id": "Q65968",
                      "displayText": "You are facing the north side of a white house. In one corner of the house there is a small window which is slightly ajar. To the north a narrow path winds through the trees.",
                      "choices": [
                        {
                          "id": "A69250",
                          "sequenceNumber": 0,
                          "displayText": "Go North",
                          "statement": {
                            "id": "Q65969",
                            "displayText": "You come to edge of a gaping chasm.  You slip on the loose gravel and fall to your death."
                          }
                        },
                        {
                          "id": "A69241",
                          "sequenceNumber": 1,
                          "displayText": "Look in window",
                          "statement": {
                            "id": "Q65970",
                            "displayText": "You can see what appears to be a kitchen.  Unfortunately, it is the last thing you see because you just died."
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}

adventuretimechallenge's People

Contributors

ernestosk13 avatar

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.