No description
Find a file
2025-07-31 17:37:16 +02:00
dev clean TODO 2024-11-21 15:53:39 +01:00
include change: adapt to cluster screen size 2024-11-22 12:13:16 +01:00
Libft dev: add Libft and Minilibx 2024-10-14 11:14:04 +02:00
maps add README.md and clean 2025-07-31 17:37:16 +02:00
Minilibx dev: add Libft and Minilibx 2024-10-14 11:14:04 +02:00
src norm 2024-11-21 16:21:44 +01:00
testmaps add README.md and clean 2025-07-31 17:37:16 +02:00
textures fix: render * 2024-11-13 18:59:07 +01:00
.gitignore dev: remove .vscode from .gitignore 2024-10-15 16:08:39 +02:00
Makefile add README.md and clean 2025-07-31 17:37:16 +02:00
README.md add README.md and clean 2025-07-31 17:37:16 +02:00

cub3d

this is a little kind of video-game i made for 42 school with ReverseSky on github. it uses the MinilibX library.

compile and run

this project only works on linux (it may work on macOS too but you will need to manually add the MinilibX library for macOS).

  1. in your terminal, run make -v. if you have a command not found error or equivalent, you will need to install make. on ubuntu / debian, run:
$ sudo apt install make
  1. clone the repository and cd inside it:
$ git clone https://gitea.zaclys.com/frzysk/42_cub3d
$ cd 42_cub3d
  1. build the game:
$ make
  1. run the game:
$ ./cub3d maps/weirdshape.cub

(you can use any file inside maps/)

play

  • use arrows, W/A/S/D or Z/Q/S/D to move.
  • you can also click on the window to use the mouse.
  • press ESC to quit.

there is a counter of your moves. try to finish the game with the less moves possible :)