Tuesday-Last / lab-24-25-text-adventure-game

lab-24-25-text-adventure-game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cf lab-24-25-text-adventure-game

Issues?

To Submit this Assignment

  • fork this repository
  • write all of your code in a directory named lab- + <your name> e.g. lab-duncan
  • push to your repository
  • submit a pull request to this repository
  • submit a link to your PR in canvas
  • write a question and observation on canvas

Directions

  • Create these directories to organize your code:
  • app
  • app/controllers
  • app/html
  • app/scss
  • app/scss/vendor
  • create a _theme.scss partial
  • add three color variables
  • create a base.scss file
  • import normalize
  • import _theme
  • write some styles that use the color variables defined in _theme
  • create a entry.js
  • require your index.html and force webpack to use the file-loader
  • require your base.scss

Game Features

Create a text based adventure game! For this assignment you'll be creating a text based adventure game.

  • This game should have at least two rooms that the player can move between.
  • One item that the player can interact with and one monster for the player to defeat.
  • Your webpage should have a command input and a button or a form submission to do something based on the command.
  • No need to try and persist the data.
  • Make sure to create each of your different commands or actions as functions on your controller.

Test

  • Unit test 4 Controller Methods that chage the state of the scope

Rubric

  • Command Processing: 3pts
  • Game Construction: 4pts
  • Build Process: 3pts

About

lab-24-25-text-adventure-game


Languages

Language:JavaScript 99.2%Language:CSS 0.6%Language:HTML 0.2%