Skip to content

jameszhao1021/Roulette-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roulette

Roulette is a popular casino game. In the game, a player may choose to place a bet on a single number, various groupings of numbers, the color red or black, whether the number is odd or even, or if the numbers are high (19–36) or low (1–18).

Screenshot

Screenshot of the Roulette Game

Technologies Used

HTML, CSS and JavaScript were used in this game.

Getting Started

Click https://jameszhao1021.github.io/Roulette-Game to open the browser. You can also clone the repository, then run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

You can follow the instructions to play the game:

  1. Choose a chip, the default value is 100, you can also choose 50, 250, 500, and 1000.
  2. Place your chip on the table, you can place multiple chips at the same or different positions. The current betting value should not exceed the balance.
  3. Click the 'Spin' button to start the game.
  4. The result will be highlighted on the table, and the data about win or loss will be displayed in the top right corner.
  5. Place a chip on the table or click the 'Delete All' button to clear the previous chips, and then start the next spin.
  6. You are bankrupt When your balance becomes zero after a spin, you can click the 'Restart Game' button to restart the game. you can also click the 'Restart' button anytime if you want to reset your data.
  7. You can enable or disable the sound effect by clicking the checkbox.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published