项目作者: yatima1460

项目描述 :
Bingo casino game demo with SDL2 and C++17
高级语言: C++
项目地址: git://github.com/yatima1460/Bingo.git
创建时间: 2019-09-16T16:59:30Z
项目社区:https://github.com/yatima1460/Bingo

开源协议:GNU General Public License v2.0

下载


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
  1. sudo apt install -y libsdl2-dev libsdl2-ttf-dev

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

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