/rock-paper-scissors

Rock, paper and scissors game written using AngularJS and ES2015

Primary LanguageJavaScriptMIT LicenseMIT

Rock Paper Scissors

This is a small game I built for a technical test, this was built using:

  • Angular 1.x
  • ES2015
  • Webpack 2
  • SASS
  • Karma

alt text

View the demo

Warning: Make sure you're using the latest version of Node.js and NPM

Quick start

Clone/Download the repo then:

# clone the repo
$ git clone https://github.com/Coder2012/rock-paper-scissors.git my-app

# change directory to your app
$ cd my-app

# install the dependencies with npm
$ npm install

# start the server
$ npm start

go to http://localhost:8080 in your browser.

Developing

Build files

  • single run: npm run build
  • build files and watch: npm start

Testing

1. Unit Tests

  • single run: npm test
  • live mode (TDD style): npm run test-watch

License

MIT