Compare commits
No commits in common. "main" and "dev" have entirely different histories.
10 changed files with 0 additions and 40 deletions
2
Makefile
2
Makefile
|
@ -22,8 +22,6 @@ ECHO = echoo(){ \
|
|||
fi; \
|
||||
};echoo
|
||||
|
||||
_default : bonus
|
||||
|
||||
all : $(NAME)
|
||||
|
||||
bonus :
|
||||
|
|
38
README.md
38
README.md
|
@ -1,38 +0,0 @@
|
|||
# cub3d
|
||||
|
||||
this is a little kind of video-game i made for 42 school with [ReverseSky on github](https://github.com/ReverseSky). 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:
|
||||
```sh
|
||||
$ sudo apt install make
|
||||
```
|
||||
|
||||
2. clone the repository and cd inside it:
|
||||
```sh
|
||||
$ git clone https://gitea.zaclys.com/frzysk/42_cub3d
|
||||
$ cd 42_cub3d
|
||||
```
|
||||
|
||||
3. build the game:
|
||||
```sh
|
||||
$ make
|
||||
```
|
||||
|
||||
4. 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 :)
|
Loading…
Add table
Reference in a new issue