Skip to content

Simple blackjack game written in C++ using SFML

Notifications You must be signed in to change notification settings

cpp-gamedev/cpbj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack

Dev Notes

To configure a new build, enter the root directory, and run

cmake . -B out/debug -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON

Then build the game:

cmake --build out/debug

This project uses the LLVM style for clang-format:

clang-format --style=llvm -dump-config > .clang-format

See the [docs](https://clang.llvm.org/extra/clang-tidy/ for all options. Run clang-tidy -list-checks in the command line to list all enabled checks.

clang-tidy ./src/*.?pp -dump-config -checks='clang-analyzer-*,modernize-*,performance-*,readability-*' > .clang-tidy

Run clang-tidy. Add the -fix option to automatically apply suggested fixes.

clang-tidy -config='' -p ./out/debug -header-filter='.*' ./src/*.?pp

About

Simple blackjack game written in C++ using SFML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published