No description
dev | ||
include | ||
Libft | ||
maps | ||
Minilibx | ||
src | ||
testmaps | ||
textures | ||
.gitignore | ||
Makefile | ||
README.md |
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).
- in your terminal, run
make -v
. if you have acommand not found
error or equivalent, you will need to installmake
. on ubuntu / debian, run:
$ sudo apt install make
- clone the repository and cd inside it:
$ git clone https://gitea.zaclys.com/frzysk/42_cub3d
$ cd 42_cub3d
- build the game:
$ make
- 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 :)