Rock, Paper, Scissors & Lizard, Spock (Node.js)
version: ‘v1.0.6’
For an interview, i was asked to dev this game with thoses users story:
Front
As a frequent games player,
I’d like to play rock, paper, scissors
So that I can spend an hour of my day havind fun
Acceptance Criteria:
Back
Technical Constraints:
Best if we use TDD, code coverage, copy and paste detection, designs (DDD, or design patterns).
So, i tried to use my “code-sens” to doing my best in less than one day, starting from scratch.
You will find here, an example of TDD, with a lot of tests.
$ git clone https://github.com/Stayfi/rock-paper-scissors-nodejs.git
Go to the project directory and do
$ npm install
$ npm run start
Open your browser to : http://localhost:3000
$ npm run test
$ npm run coverage
$ npm run jscpd