Skip to content

MichaelPerger/cub3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cub3D Project at School 42

by https://github.com/MabKort and https://github.com/MichaelPerger

During the Cub3D project at School 42, we worked on developing our programming and game development skills. The project involved using the C programming language and the RayCasting algorithm to create a 3D maze game that allowed players to move through a maze-like environment and interact with objects in the game world.

Throughout the project, we learned a variety of skills and concepts related to programming and game development, such as using the RayCasting algorithm to create a 3D view of the maze environment, applying physical laws and principles to the game world, and texture mapping to add textures to the surfaces of 3D objects in the game world.

To complete the project, we were only allowed use some C programming functions and libraries, including:

  • open
  • close
  • read
  • write
  • printf
  • malloc
  • free
  • perror
  • strerror
  • exit
  • the math library
  • everything we coded ourselves in the libft project

As a bonus, we implemented additional features such as:

  • A minimap to show the layout of the maze.
  • The ability to rotate the player's view using the mouse.
  • The inclusion of enemy sprites that move randomly throughout the maze.
  • Detection and handling of wall collisions.

Overall, the Cub3D project was a challenging but rewarding experience that helped us develop our skills as programmers and game developers. By completing the project as a team, we gained valuable experience that will help us in our future careers, and we feel proud of what we were able to achieve together.

Instructions:

  1. Clone the project from the repository.
  2. Open a terminal and navigate to the project directory.
  3. Run the command "make" to compile the project.
  4. If the compilation was successful, run the command "make run" to start the game.

About

cub3d project @42 Vienna

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published