Skip to content

MariamElSahhar/Cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cub3D

Cub3D is a project that aims to recreate a simple version of the classic game Wolfenstein 3D, using the raycasting technique. This project was developed as part of [insert name of course or program].

image

About

Cub3D is a project developed in [insert language or framework], inspired by the iconic Wolfenstein 3D game. It uses the raycasting technique to render a 3D world and provides a simple gameplay experience.

Features

  • Raycasting rendering engine
  • Textured walls and sprites
  • Basic collision detection
  • Simple player movement and controls

Getting Started

To get started with Cub3D, follow these steps:

  1. Clone this repository to your local machine.
  2. Navigate to the project directory.
  3. Compile the project using the provided Makefile.
  4. Run the executable file generated after compilation.
git clone https://github.com/yourusername/cub3d.git
cd cub3d
make
./cub3d

Controls

  • W: Move forward
  • S: Move backward
  • A: Move left
  • D: Move right
  • Left arrow: Rotate left
  • Right arrow: Rotate right
  • ESC: Exit the game

Demo

About

🪄 Inspired by the very early first-person video games, this C program employs raycasting to transform a 2D grid of coordinates into an immersive 3D map, pixel by pixel.

Topics

Resources

Stars

Watchers

Forks

Contributors