Skip to content

SixofClubsss/Dero-Baccarat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Dero-Baccarat

Ui for dReam Tables Dero Baccarat Smart Contracts. dReamTablesFooter Written in C++/Qt. Used Qt 5.12.8 to build the Ui. This app is made to play Dero Baccarat on Dero Stargate.

The first dReams Tables game. This smart contract is a simple version of the casino game Baccarat. It uses a private Dero token called dReams for betting. Users can trade Dero for dReams, & dReams can also be converted back into Dero. For more info on the game mechanics read the menu when the app starts, you can also refer to the game smart contracts.

Mainnet

Testnet

BaccMain

Donations

  • Dero Address: dero1qyr8yjnu6cl2c5yqkls0hmxe6rry77kn24nmc5fje6hm9jltyvdd5qq4hn5pn

DeroDonations

Requirements to play

To be able to play you will need to have connection to a synced Dero Node and a registered Dero wallet. While you can play using a remote node, it is recommended that you run your own node.

For more info on how to set up Dero node and wallet you can refer to the Dero documentation here

To play download the latest release or build the app from source.

  • Qt is a required dependency for the app.
    • Linux - sudo apt install qtbase5-dev
    • MacOs - brew install qt@5
    • Windows - msys2 and pacman -S mingw-w64-x86_64-qt5-static

Build

  • Linux

Install dependencies

sudo apt update
sudo apt install build-essential qt5-qmake curl libcurl4-openssl-dev
sudo apt install --no-install-recommends qtbase5-dev qttools5-dev libqt5svg5-dev

Download repo & build

git clone https://github.com/SixofClubsss/Dero-Baccarat.git
cd Dero-Baccarat/Mainnet-Baccarat
qmake
make

Start app

./Dero-Baccarat 

For testnet build use cd Dero-Baccarat/Testnet-Baccarat & ./Testnet-Baccarat to start


  • MacOs

Install Brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install dependencies

brew install qt@5

Add path to system

export PATH="/usr/local/opt/qt@5/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/qt@5/lib"
export CPPFLAGS="-I/usr/local/opt/qt@5/include"
~/.zshrc

Download repo & build

git clone https://github.com/SixofClubsss/Dero-Baccarat.git
cd Dero-Baccarat/Mainnet-Baccarat
qmake
make

Start app

./Dero-Baccarat 

  • Windows

Download msys2 and cUrl

Install dependencies with msys2

pacman -S mingw-w64-x86_64-gcc make git mingw-w64-x86_64-curl
pacman -S mingw-w64-x86_64-qt5-base mingw-w64-x86_64-qt5-tools
pacman -S mingw-w64-x86_64-qt5-static

Add path to system

In control panel, go to system then advanced system settings. In the advanced tab click environment variables, find Path in the system variables section and edit to add C:\msys64\mingw64\bin, C:\msys64\usr\bin and C:\Program Files\Git\cmd to path.

Download repo

git clone https://github.com/SixofClubsss/Dero-Baccarat.git

Move cUrl lib & include files to C:\msys64\mingw64\qt5-static

Remove comments in .pro file for windows build

CONFIG += c++11 static
LIBS += -llibcurl

Build

cd Dero-Baccarat/Mainnet-Baccarat
qmake
make

Move curl-7.84.0_3-win64-mingw\libcurl-x64.dll file to same folder as Dero-FiveCardDraw.exe

For issues with SSL remove comments from curl_easy_setopt(curlDaemonCheck, CURLOPT_SSL_VERIFYPEER, 0); in .cpp files.

Build preformed on Windows 10 system.


Alternatively you can also build on any system using Qt Creator.

  • Download and install Qt for your system.
  • Download repo and click on Dero-Baccarat.pro to open project in Qt.
  • Click configure project then click build.

baccMenu-v1 1 2


Licensing

dReam Tables Dero Baccarat is a free open source game.
The source code is published under the GNU GPL V3 License.
Refer to the copywrite.md file for artwork licensing.