This vanilla JavaScript project is a learning expeirence for me more than it is an accurate modelling of the BlackJack game (which I later found out is played completely different ๐๐๐, everyone has their own rules).
All you need to do is clone this repository, open a compatible web browser and navigate to the relative path of the index.html file in the base src folder.
As this project contains ES6 features you will need a web browser with a compatible JavaScript Engine. This runs successfully on the following version with all tests passing:
Microsoft Windows 10 Enterprise 10.0.16299 Build 16299 Google Chrome Version 64.0.3282.186 (Official Build) (64-bit)
Once you have a clone this repository, open a compatible web browser and navigate to the relative path of the SpecRunner.html file in the relative path of '.\src\jasmine\jasmine-standalone-3.1.0\SpecRunner.html'
NOTE there are only domain tests and no UI tests. The tests in this project confirm that the domain logic is captured as expected and protect for any future refactoring. This project does not have any UI or end to end testing.
There is no deployments needed for this project.
- Visual Studio Code - Visual Studio Code
- Javascript - JavaScript (with ES6 features)
- Jasmine - Jasmine