I used Object-Oriented-Programming approach in creating the game, namely Classes in JS
The first version was via functional approcah, but then I decided to redo it using Classes, thus enhancing my knowledge of classes, in ES-6, private and protected properties.
View Demo