Skip to content

Simple dominoes game that runs inside your terminal. College challenge

Notifications You must be signed in to change notification settings

ralvarezdev/uru-dominoes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack

This repository contains the source code of a Dominoes Minigame that can be Executed in the Terminal, developed by:

Developers

Ramón Álvarez (ralvarezdev).

Programming Languages

Only C++.

Installation

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

    git clone https://github.com/ralvarezdev/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