Giter VIP home page Giter VIP logo

tp3's Introduction

Para los tests

Compilación

  1. mkdir build
  2. cd build
  3. cmake ..
  4. make

Ejecución

Desde el inicio del proyecto:

  1. cd build
  2. `./bin/correrTests

Para la interfaz gráfica

Dependencias

Se necesitan dependencias que pueden ser instaladas en Ubuntu de la siguiente manera:

sudo apt install libboost-iostream-dev libboost-filesystem-dev libsdl2-dev libsdl2-image-dev

Compilación

Si ya se armó la carpeta build, es necesario borrarla:

rm -r build

Luego:

  1. mkdir build
  2. cd build
  3. cmake -DWITH-GUI=ON ..
  4. make

Ejecución

Desde el inicio del proyecto:

  1. cd build/bin
  2. ./ExtremeExorcism

Sobre la interfaz gráfica

El mapa se obtiene a partir del archivo resources/maps/m1.txt donde los . son los espacios en blanco y los # son las paredes. El archivo puede modificarse para crear mapas nuevos. Es necesario recompilar el juego para que se actualice. Alternativamente se puede copiar el archivo de texto a build/bin/resources/maps.

En la versión actual, el juego soporta un solo jugador que se mueve son la siguiente disposición de teclas:

  I  
J K L

Y dispara con la tecla U. Se puede salir del juego con la tecla Q.

tp3's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.