Skip to content

Bingo casino game demo with SDL2 and C++17

License

Notifications You must be signed in to change notification settings

yatima1460/Bingo

Repository files navigation

Bingo

Project Linux Windows MacOS
Core Actions Status Actions Status Actions Status
Core Test Actions Status Actions Status Actions Status
CLI Actions Status Actions Status Actions Status
UI Actions Status Actions Status Actions Status

CLI

  • Dynamic Bingo settings
    • Prize patterns add
    • Prize patterns delete
    • Number of balls
    • Number of cards
    • Card size
  • Game Statistics
    • Percentage Game
    • Pattern frequency
    • Contribution patterns
  • Insert credits
  • Change numbers
  • Show current cards
  • Play One Game
    • Show ExtractedBalls balls
    • Show cards status
    • Show prizes
    • Remaining credits
  • Play X Games
  • collect
  • Exit game
  • Functions to print cards should be merged into one
  • ncurses?

UI

  • Background
  • balls ExtractedBalls
  • Cartons
    • Marked
  • Buttons
    • Enter money
    • collect money
      • Disable if no money
    • Change Cardboard numbers
    • Play Game
      • Remove credits for cards
      • Update screen
      • Give prizes
      • Disable if no money for cards
    • Mute audio
  • Current credits
  • Exit with ESC
  • SDL_Image support for .png?
  • Resize window buffer using renderToTexture
  • Disabled button
  • Font size
  • Sounds and effects
  • Assets loader with associative string->Texture map?
  • balls different colors

Build

Prerequisites

Core and CLI

  • CMake
  • g++

UI

Debian
sudo apt install -y libsdl2-dev libsdl2-ttf-dev

If you have errors about not finding SDL_ttf.h try:

sudo ln -s /usr/include/SDL2/SDL_ttf.h /usr/local/include/SDL2/
Arch
sudo pacman -S sdl2 sdl2_ttf