Build a Casino Game in JavaScript
In this guide we are going to build out a Functioning Casino using JavaScript
Guide Tasks
  • Read Tutorial

We are building a casino!

You are to build one casino game, blackjack, slots, roulette, etc, ( these are the ones I have seen built out before, but any game is ok)

requirements

Build the game.

In addition,

the player will have a wallet, they can add money to the wallet, any winnings they get should be added to the wallet.

If the wallet goes empty they must add more money or they have to stop playing.

They need to be able to stop playing and cash out the wallet at any time. (bonus if the cashout process tells them if they made a profit or not)

let the player set the dollar/cents amount of the bet (in the game).

let them continue playing as long as they have the money or decide to cash out.

Bonus, Do not allow bets for more than is in the wallet.
Bonus 2, Display the odds of winning that round of the game (very advanced and may not work with every game)