Inspiration

Seriously, this was just an assignment for class, but I think I should submit this anyway so people can see my progress when I get to more complicated stuff later on. :)

What it does

This program basically simulates a dice roll, where the user bets money on whether the dice will roll to a total of 7.

How I built it

I built this program using Visual Studio 2012 Express for Desktop, and I used the C++ language. I obviously used the library that makes life a lot easier, so that I could output strings and allow the user to input values. I used the library and the library in order to allow my program to generate random numbers.

Challenges I ran into

I wasn't too sure of how to exactly simulate the random numbers, so I had to look online for that, and also, I was very uncomfortable with using functions.

Accomplishments that I'm proud of

I learned how to use functions with ease! Now they're my best-friend. I use them all the time!

What I learned

I learned that betting is seriously not a good idea, lol.

What's next for Dicegame

There's nothing next for this project. Maybe sometime later, once I get all fancy and stuff I can learn how to create a game using this program.

Built With

  • c++
  • visual-studio-2012
Share this project:

Updates