Skip to content

lightiverson/cub3d-parser

Repository files navigation

Cub3D Parser

The parser section for the Cub3D project.

Installation

  git clone [email protected]:lightiverson/cub3d-parser.git
  cd cub3d-parser
  make

Usage/Examples

./cub3d /maps/map.cub

or

./open_all_maps.sh

Running Docker container

Bouw image genaamd ubuntu-cub3d op basis van Dockerfile:

docker build -t ubuntu-cub3d-sanitize .

Draai container op basis van image genaamd ubuntu-cub3d met mounted eigen folder:

docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it --rm --init -v "$PWD:/pwd"  ubuntu-cub3d-sanitize sh -c "cd /pwd; bash"

--cap-add=SYS_PTRACE --security-opt seccomp=unconfined = nodig om lldb te kunnen runnen in container -i = interactive so bash doesn’t immediately quit because there is no input
-t = bash shows prompt
--rm = delete container on exit to not waste space
-v = mounts specific folder from host to Docker container
--init = shiieet snap het nut niet, maar Noah gebruikt het
-c = CPU shares (relative weight) ???
sh = ?

About

Parser section for the Cub3d project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages