Skip to content

More advanced version of roulette wheel, based on SFML engine

License

Notifications You must be signed in to change notification settings

rosarz/Roulette

Repository files navigation

🎲 Roulette Game

Classic roulette game is an interactive roulette game written in C++. Users can place bets on various numbers and colors, then watch as the roulette wheel spins to determine if they've won.

Main Features

  1. Interactive Roulette Game: Users can place bets on various numbers and colors, then watch as the roulette wheel spins to determine if they've won.
  2. Saving and Loading Player Data: Player data, such as username, account balance, last bet, and highest win, are saved and can be loaded later.
  3. Animations: The project includes animations, such as the spinning roulette wheel.

The project is written in C++ using the SFML library for graphics and user interaction. The standard C++ library is used for managing player data.

How the game looks like

Main menu

image

Settings

image

Gameplay

image

Update 1.3 / 08.07

  • updated MaxWin loading
  • changed colors if player wins or lose

Update 1.2 / 04.07

  • reworked the animation to work perfectly
  • reworked the saveing system to be easy to read from normal system UI

Update 1.1 / 28.06

  • added settings and option to come back every time
  • added animation (timing isn't working well)
  • added biggest win text
  • settings work with about section
  • saving and loading data works

Update 1.0 / 27.06

  • added a full functionally spin with specified bet amount on a different type of bet
  • added menu to start the game and back into menu whenever you want
  • few addons like text popup how much did you added into bet or if you win or lose
  • reworked multi-betting cuz something wasn't working well

In next update:

  • wheel animation
  • add settings to the game
  • add ranking for highest win with Regex
  • add filesystem for nicknames

Update 0.9 / 25.06

  • added a spin button and make an intro to put a bet func

Update 0.8 / 22.06

  • added option to bet different numbers and combinations
  • blocked multi-betting the same numbers over and over

Update 0.7 / 08.06

  • added wheel to display
  • added whole function to set numbers and rectangle shapes to make a roulette table, also it highlights which number are choosen
  • also added a rectangle to make a bet of only red/black colors (function todo) and also sets of number like 1-12, 13-24 and 25-36

Update 0.6 / 06.06

  • added text fields to display currency and bet amount
  • fixed bottom bar with button clicks

Update 0.5 / 02.06

  • Made bottom bar class and implemented it for game class to work with the objects made of it

Update 0.4 / 01.06

  • updated bottom stats rectangle

Update 0.3 / 29.05

  • added a bar for few options like different chips to bet / actual value of bet / etc.

Update 0.2 / 28.05

  • adding an game class that render and display the objects
  • restructurize the main engine function into class

Update 0.1 / 24.05

  • updating .gitignore to make git push work again

About

More advanced version of roulette wheel, based on SFML engine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published