A Blackjack game in D
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Juliana Rat 09a36957b3 Add FreeBSD build scripts to main
Except for the platform name, this should be the same for all standard Unix-like systems
2 months ago
fonts Remove unnecessary fonts 2 months ago
icons Change icon paths to match AppImage 2 months ago
images remove extra images 2 months ago
source Make non-player Hands hide the first card 2 months ago
.gitignore add screenshot capabilities 2 months ago
COPYING first working state 2 months ago
README.md Fix typo in README 2 months ago
bladjad.desktop Add necessary resources for desktop installation 2 months ago
build-appimage.sh Move AppImage build script into main 2 months ago
build-freebsd.sh Add FreeBSD build scripts to main 2 months ago
dub.sdl first working state 2 months ago
install.sh Add FreeBSD build scripts to main 2 months ago

README.md

Bladjad

Blackjack without the 'c's, 'kays?

Overview

Bladjad is simply blackjack. It's written in D using Dgame. It uses free assets found on itch.io and collected here.

Controls

Bladjad can be used entirely with a mouse. However, it also uses a keyboard control scheme which is simple and, hopefully, intuitive.

Menu

  • Arrow keys - navigate
  • Enter key - select highlighted option

In-Game

  • H key - hit
  • S key - stand
  • R key - restart

Universal

  • M key - return to the menu
  • Q key/Escape key - exit

Installation

As of version 0.1, some preliminary executable files will be made available. The goal is to support an AppImage for Linux, a tarball for FreeBSD, a Windows executable, and an OSX executable.

Compiling from source

Since Bladjad is written in D, compilation should be relatively simple. Install a D compiler for your system, as well as the DUB build manager if it's not included. You'll also need SDL and OpenGL development files for Dgame. Then, simply clone this repository and navigate to its root directory. There, run dub build --build=release --compiler=yourDCompiler. A binary will be produced in the same directory. Alternatively, you can clone a build branch, such as appimage, which will include specific compilation instructions for that format. Once you have the executable, you can install it manually or as the format requires. The full set of commands, with standin names:

git clone https://github.com/Marie-Joseph/bladjad.git branch-of-choice
cd Bladjad
dub build --build=release --compiler=yourDCompiler