Coders Packet

Gambling simulator in C++

By Tushar Takshak

This C++ code simulates the betting which happens usually at places like casinos, clubs, etc.

========Gambling Simulator========

About the project: It uses basic coding skills to regulate this simulator. It also uses a library used for random numbers: cstdlib which adds the feature to randomize the betting number.                                                                                                              

- Let's start with a balance of $3800.

- We will now bet $1000 and select '4' as a betting number.

- Darn it! We lost. The balance is updated. Let's try again.

Download Complete Code


No comments yet