Here is the working copy of the interactive version and the simulation.
This Domino Game simulation algorithm and TypeScript implementation is designed and written by me. Yes, I decided to reinvent the wheel. It's written in vanilla TypeScript (no frameworks).
This program is inspired by a JavaScript course by HackYourFuture, Amsterdam.
The technical assignment for the simulation is here: technical assignment
The TypeScript source code is located in src folder of this repository. TypeScript config file tsconfig.json, ESLint config file .eslintrc.json, NPM configuration package.json as well as a couple of more config files used to create and build this game can all be found in the root of this repository. Feel free to clone it and play with the code if you want.