This repository contains the source code of a Blackjack terminal game, for the theory final project of the Programming I course of the Computer Science career at the Rafael Urdaneta University, located in Maracaibo, Venezuela.
- ralvarezdev - Ramón Álvarez
- C++
- Clone this repository to your local machine using the following command:
git clone https://github.com/ralvarezdev/uru-blackjack
- Change your Current Working Directory to where the repository was cloned
- There are two ways to compile the program:
- With G++ (you must have installed MinGW Compiler). Use the following command:
Command for Windows
g++ -o bin\Blackjack.exe src\blackjack.cpp src\lib\cartas.cpp src\lib\cartas.h src\lib\clases.cpp src\lib\clases.h src\lib\terminal.cpp src\lib\terminal.h
Command for Linux
g++ -o bin/Blackjack.exe src/blackjack.cpp src/lib/cartas.cpp src/lib/cartas.h src/lib/clases.cpp src/lib/clases.h src/lib/terminal.cpp src/lib/terminal.h
- With CMake (you must have installed CMake and Make). First, get to the
bin
folder inside the repository. Use the following command:Command for Windows
cmake -S ..\ -G "MinGW Makefiles" -B .\ && make
Command for Linux
cmake -S ../ -G "MinGW Makefiles" -B ./ && make
- Run the program by clicking the
Blackjack.exe
.
For a better User Experience, resize the terminal window to fullscreen mode