Skip to content

butzopower/rpsApp

 
 

Repository files navigation

rpsApp

This is a simple app that umpires a 2-person rock-paper-scissors games, and also provides a way to see historical results.

Setup

To set up all of the modules (i.e., npm install and npm link local modules), run ./setup.sh

Running the tests

To run all of the tests, run ./build.sh. Make sure you've first run ./setup.sh

rps

The rps module contains the high level policy (two use cases: play, and history). It also defines a contract for promise-based round repositories. The use cases use the observer pattern to invert the dependency on the UI.

webSpecs

This module exports a contract for the frontend. All frontend implementations conform to the contract.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.6%
  • HTML 9.5%
  • Shell 2.9%