Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 851 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 851 Bytes

Monty Hall Demo UI

This is a simple UI for the Monty Hall Problem demo shown in the SpringOne 2GX Technical Keynote by Adrian Colyer, as well as the IOC + Javascript session.

To run:

  • npm install
  • npm start

Open your browser to http://127.0.0.1:8000

The Monty Hall Demo UI relies on a connection to a RESTful service at https://monty-hall.cloudfoundry.com. If you would like to run the app without connecting to a remote server, you may use a mock service by opening client/app/main.js and changing the gamApi component from:

gameApi: { wire: 'app/game/rest' }

to the following:

gameApi: { wire: 'app/game/fake' }

License

Copyright (c) 2012 VMware