Skip to content

sc00bid00/cub3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUB3D Project README

Welcome to the CUB3D project repository! This project was developed as a mandatory part of the 42 School curriculum in Heilbronn.

Authors: Kathrin Czichowsky, Luca Sordo
Email: lsordo@student.42heilbronn.de

Project Overview

CUB3D is a project that explores the fundamentals of raycasting and creates a simple 3D game using the C programming language. The primary objectives include:

  • Understanding raycasting techniques for rendering a 3D environment.
  • Implementing a basic game engine in C.
  • Exploring concepts of graphics programming.

Learning Objectives

Throughout the project, I had the opportunity to gain hands-on experience and knowledge in the following areas:

  • C Programming: I strengthened my skills in the C programming language, implementing algorithms for raycasting and game mechanics, text parsing and error management.
  • Graphics Programming: I delved into the world of graphics programming, learning how to render a 3D environment using raycasting.
  • Game Development: I gained insights into game development by building a simple 3D game from scratch.

Challenges Faced

During the development of CUB3D, I encountered various challenges:

  • Raycasting Algorithm: Implementing an efficient raycasting algorithm for rendering the 3D environment posed a significant challenge.
  • Game Logic: Designing and implementing the game logic, including player movement and interactions, required careful consideration.
  • Graphics Rendering: Understanding and implementing the graphics rendering process was a complex aspect of the project.

Getting Started

To get started with this project, clone the repository to your local machine and follow the steps outlined below:

git clone <repository_url> <your_local_folder>
cd <your_local_folder>
make

Ensure you personalize all necessary files, including adjusting game settings and configuration files.

Usage

Start

Launch a shell and:

cd <your_local_folder>
./CUB3D <map_file>

Stop

Launch another shell and:

cd <your_local_folder>
make clean

Acknowledgement and Credits

A big thank you to the 42 School in Heilbronn for providing the opportunity to work on this project and expand my skills in C programming and game development.

Thank you to Kathrin who has been the ideal partner to coauthor this project.

License

This project is open source and available under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published