ingrdst / DigAlanDig_TecProg

DigAlanDig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DigAlanDig - TecProg

Img_DigAlanDig

The purpose of this repository is to apply some programming techniques to the game DigAlanDig

Programming techniques

Module 2

  • Style and Design
  • Compile with all connected warnings
  • Use Static Analysis Tools
  • List of Variables
  • Choose meaningful names
  • Initialize all variables when declaring
  • Declare variables as possible
  • Use constants

Starting the application

First, you have to install some lib's

  • Simple DirectMedia Layer development files
$ (sudo) apt-get install libsdl2-dev
  • Image loading library for Simple DirectMedia Layer 2, development files
$ (sudo) apt-get install libsdl2-image-dev
  • Mixer library for Simple DirectMedia Layer 2, development files
$ (sudo) apt-get install libsdl2-mixer-dev
  • Clone the repository to your pc
$ git clone git@github.com:digalandig-tecprog/DigAlanDig_TecProg.git && cd DigAlanDig_TecProg
  • Now your machine is able to run the application. The next command is very simple
$ make

After that, a binary code is generated. Run the game

$ ./JOGO

About

DigAlanDig

License:zlib License


Languages

Language:C++ 94.7%Language:Makefile 4.2%Language:C 1.1%