/typescript-roulette

This project allows to simulate roulette strategies, so that you can test if waiting for a lot of misses and then doubling the stakes will lead to success. (no, it won't)

Primary LanguageTypeScript

Roulette

Check it out at: https://webstrap.github.io/typescript-roulette/

This is a train ride project, which I made on my ways to work.

The purpose is to show that you can not win long-term in roulette, no matter for how many misses you wait or how often you double your stake.

TODO:

  • Game Log: highlight when it is blown up

  • Services: create Abstract Service with CRUD functions

  • Live Mode: allow to enter number by number and get where you should place a bet

  • load the data always with observables (as well from local storage)

  • adjust shadow to be the same

  • remove folding box

This project was generated with Angular CLI version 6.0.3.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.