An open API service indexing awesome lists of open source software.

https://github.com/jarjk/blackjackpp

A cross-platform implementation of BLACKJACK written in C++ for the terminal
https://github.com/jarjk/blackjackpp

addictive client cpp cross-platform gambling game server tui

Last synced: 5 months ago
JSON representation

A cross-platform implementation of BLACKJACK written in C++ for the terminal

Awesome Lists containing this project

README

          

# ♠️ Blackjack (C++)

> [!NOTE]
> forked from [ineshbose/Blackjack_CPP](https://github.com/ineshbose/Blackjack_CPP)

> [!NOTE]
> WIP, but we won't really continue developing it.
> the idea was to have multiplayer mode via webserver, which is pretty much done
> but the client has some glitches from time to time
> and the server as well (though should be fine). also, it has a separate dealer for each player

## Installing

we provide pre-compiled binaries for linux, mac and windows, check out [the latest release](https://github.com/jarjk/blackjackpp/releases/latest)

## 🔧 Development Setup

### Cloning
```sh
git clone https://github.com/jarjk/blackjackpp
cd blackjackpp
```

### Building / Compiling

#### Meson
```sh
# by default only client is built, see meson.options, *bool* is default
meson setup build # can be set with -Dclient=[*true*, false] -Dserver=[true, *false*]
meson compile -C build
# if not localhost: BJ_ADDR=$desired_address
./build/blackjackpp-client
# if built. BJ_LOG=verbose to show full responses
./build/blackjackpp-server
```