Skip to content

Latest commit

 

History

History
61 lines (35 loc) · 1.76 KB

README.md

File metadata and controls

61 lines (35 loc) · 1.76 KB

Dominoes

This repository contains the source code of a Dominoes terminal game, for the laboratory 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-dominoes

  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\Dominoes.exe src\main.cpp src\lib\cards.cpp src\lib\cards.h src\lib\input.cpp src\lib\input.h src\lib\terminal.cpp src\lib\terminal.h

      Command for Linux

      g++ -o bin/Dominoes.exe src/main.cpp src/lib/cards.cpp src/lib/cards.h src/lib/input.cpp src/lib/input.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 Dominoes.exe.

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