/Cub3D

The cub3D project is a modern take on the classic 3D game “Wolfenstein 3D”. It’s a graphic design project where students create a dynamic view inside a maze using ray-casting principles.

Primary LanguageC

42-cub3D

Overview

cub3D is a graphic design project inspired by the world-famous 90's game Wolfenstein 3D, which was the first FPS ever. It enables you to explore the technique of ray-casting. The goal is to make a dynamic view inside a maze, in which you’ll have to find your way.

Features

  • Wall collisions
  • Simple map reading
  • Dynamic view inside the maze
  • Use of graphics library for rendering

Usage

  1. Start by cloning this repository.
  2. Navigate into the directory: cd cub3D
  3. Compile the project: make
  4. Run the project: ./cub3D map.cub