Skip to content

iveltier/cli-roulette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI-Roulette 🎲

quickstart

this is a cli roulette game written in javascript.

run npm install and node cli-roulette.js

the game

by running the node cli-roulette.js command you can play roulette in your terminal. You will have a start capital of 100$. Bet on red/black or even/odd to double your money, or pick a specific number (1–36 for 4× payout, 0 for 9×) and try your luck!

extra Features

at the start of the game you can create/load your account. The account-data is stored in players/YOURUSERNAME.json. The local highscore is stored in highscore.json and will be printed out at the end of the game. You also have a personal highscore. If you want to know how many games a user has played, just inspect the user.json file. If your interrested in how much money the bank/casino made from you, check the bank.json. If your broke, you will have to wait two minutes until you can play again. Feel free to contribute! Happy gambling! 🎰

About

a roulette game that runs in your terminal

Topics

Resources

License

Stars

Watchers

Forks