Skip to content

ralvarezdev/uru-blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack

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.

Developers

Programming Languages

  • C++

Installation

  1. Clone this repository to your local machine using the following command:

    git clone https://github.com/ralvarezdev/uru-blackjack

  2. Change your Current Working Directory to where the repository was cloned
  3. There are two ways to compile the program:
    1. 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

    2. 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

  4. Run the program by clicking the Blackjack.exe.

For a better User Experience, resize the terminal window to fullscreen mode