Skip to content

42seoul-sunghwki/cub3D

Repository files navigation

Cub3D

Cub3D is a 42 school team project aiming to recreate a raycaster similar to that of Wolfenstein 3D using the MiniLibX library.

Cub3D 42 project badge

Status

Validated 05/13/2024. Grade: 125%

Authors

  • Minseo Park (minsepar)
  • Sunghwan Kim (sunghwki)

Key takeaway from the project

  • RayCasting using Digital Diffrential Analysis (DDA) algorithm
  • Used A* algorithm to make dancing cat, dog, bear sprite follow the user
    • Priority Queue using Max Heap
  • Utilizing multi-core system using pthread library
  • Pthread optimization with thread pool
  • Horizontal and Veritical mouse movement
  • Triple buffering using mlx_images
  • Rotating minimap using rotation matrix

Clone

git clone https://github.com/42seoul-sunghwki/cub3D.git

Demo

cub3D demo1

cub3D demo2

copyright

  • copyright in NYANCAT

About

It is a zombie defense game using raycasting.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published