
Endgame
A virtual casino where the player starts with $1,000 and plays through four mini-games — crash betting, minesweeper, horse racing, and slots — trying to reach $1,000,000. State-machine architecture drives the game loop, with dynamic probability systems and graphical UI rendered through Raylib.
Video
Gallery
Notes
Casino game collection built with C and Raylib for a university programming course at NTU "KhPI".
Mini-games
- Rocket (Crash): Bet and cash out before the multiplier crashes
- Stars (Minesweeper): Reveal tiles for stars, dodge bombs, cash out anytime
- Hippodrome: Pick a horse from 10 runners with dynamically calculated odds
- Slots: Three-reel machine with jackpots, free spins, and double-win mechanics
Technical
State machine architecture switching between menus and game modes. All rendering done through Raylib with custom probability engines per game. Built with make.