Code Monkey home page Code Monkey logo

adventure-game's Introduction

cf Angular Adventure Game

Create a "text" based adventure game! For this assignment you'll be creating a text based adventure game ala Zork or choose your own adventure.

Work in teams of 2-3 for this project

  • This game should have at least three rooms or scenes that the player can move between.

  • Have at least one item that the player can interact and at least one monster or character the player defeats or interacts with.

  • You need to provide ways for user to specify what they want to do (button, input, etc)

  • No need to try and persist the data (though you can put on localStorage if you want)

  • Test your controllers. Remember test the code you wrote, not Angular!

  • For a choose your own adventure style game, you will need to use ng-if, ng-show, to change scenes, etc.

  • A text adventure will likely retain state.

  • The goal is to jump into Angular and try and build something more complex than first assignment.

  • To share state ($scope data) across controllers, you need to introduce the data in a parent that encompases those child controllers. (Yes, controllers in angular can be nested. Child $scope prototypically inherits the $scope of the parent)

Rubric

  • Templating directives, design, features: 10pts
  • Controllers: 5pts
  • Project Org: 5pts
  • Testing: 10pts

adventure-game's People

Contributors

tysmith86 avatar drewstock avatar tomtimmel avatar martypdx avatar

Watchers

James Cloos avatar  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.