Skip to content

SHASANGNIX/Casino-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

🎰 Casino Game in C++

A fun and interactive Casino Game project built using C++ and Object-Oriented Programming (OOP) concepts. This project simulates a real-world casino environment where players can register, deposit, withdraw, and play multiple games — all through a simple console interface.

🚀 Features

👤 Player Profile Management

Enter player name and get a $100 bonus balance

Deposit and withdraw money anytime

🎮 Two Exciting Casino Games

Guessing Game – Guess a number between 1 to 10 and win 10x your bet if you’re lucky!

Slot Machine Game – Spin the reels and match symbols to win payouts like a real casino machine.

💰 Balance Tracking The player’s balance updates dynamically after every game, deposit, or withdrawal.

🧱 Menu-Driven Interface Easy to navigate through different options — Play, Deposit, Withdraw, or Exit.

🎲 Random Number Generation Uses rand() and time(0) for generating unpredictable outcomes, giving a real gaming experience.

🧩 Concepts Used

Object-Oriented Programming (OOP)

Classes and Objects

Inheritance and Virtual Inheritance

Encapsulation and Data Protection

Control Structures

Loops, Conditionals, and Menu Navigation

File & Console Management

Formatted output using iomanip

Console clearing with system("cls")

Randomization

rand() for game logic randomness

The Project Is Made in Team By myself, @jeetvasoya21 and @Jeemit12

🖥️ How to Run

Clone the repository:

git clone https://github.com/shasangnix/casino-project.git

Navigate to the folder:

cd casino-project

Compile the program:

g++ Casino Project.cpp -o casino

Run the executable:

./Casino Project

About

The Casino Game in C++ is an interactive, menu-driven console application that brings the excitement of a real casino to your terminal. It is developed using Object-Oriented Programming (OOP) principles and demonstrates key C++ concepts like inheritance, encapsulation, modular design, and random number generation..

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages