Hi! I have attached an unfinished project with the base already finished. It is

Hi! I have attached an unfinished project with the base already finished. It is a Black Jack card game project without HTML or CSS, so just the JavaScript code here. I edit in Visual Studio Code. The issues I have been having are to create a player and a dealer. Also to calculate the winner or loser like in the png picture i have attached.
These are some of the requirements for this assignment:
– No hasard moment (like betting or losing money) is needed.
– 1 player and 1 dealer
– All types must be placed in different modules. You choose what the types should represent. Maybe you create types for game table, draw pile, throw pile, give, player, hand, …? Think about which properties are suitable to encapsulate, ie make semi-private, so that it becomes safer and easier to use objects instantiated of the type.
-The number of players who must participate during a game round must be submitted as an argument to the application. The number of players sent as arguments must be interpreted as an integer in the closed interval between 1 and 7, as well as 20 and 50. If the argument does not pass the validation, an appropriate error message must be presented.
– All source code must follow the course code standard. (never use “var” e.g, only use “let” or “const”)
– Avoid repeating code as much as possible and therefore do not violate the DRY (“do not repeat yourself”) principle.
– Document types and functions using JSDOC comments (description must be available and documentation of parameters, thrown exceptions and return values). Also use line comments inside functions in cases where it is justified.

Posted in Uncategorized

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount