Skip to content

A sassy twist on an iconic beginner JavaScript project - refactored to follow MVC design pattern.

Notifications You must be signed in to change notification settings

RussellShire/Tragic_Eight_Ball

Repository files navigation

TRAGIC EIGHT BALL

A sassy twist on an iconic beginner JavaScript project - refactored to follow MVC pattern. An Eightball that will answer any typed question - but in a world weary manner befitting an all powerful creature forced to answer trivial questions for strangers on the internet.

Project specifications

  • The user can type their name and it will be remembered
  • Users can type a question and it will be referenced in the reply
  • Once a question has been answered users are invited to ask another question
  • There should be multiple replies to each interaction
  • Written DRY as much as possible
  • MVC will be strictly followed

Usage

Tested and working on Snowpack version 3.3.7, November 2022

Get the depdencies installed:

  1. nvm use
  2. npm install

Get the app up and running on port 8080, assuming the depdencies are installed:

  1. cd /src
  2. npm run build
  3. npm run start

Get the tests up and running, assuming the depdencies are installed:

  1. cd /src
  2. npm run test

About

A sassy twist on an iconic beginner JavaScript project - refactored to follow MVC design pattern.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published