MinilibX is a graphical library for 42 students.
This is an example of MinilibX.
Notion! This program runs only MacOS. If you use Linux, use minilibx-linux instead.
git clone https://github.com/YutaUra/minilibx-snake.git
cd minilibx-snake
make
./snake.a
keyboard | behavior |
---|---|
Esc | exit game |
left arrow | move left |
right arrow | move right |
up arrow | move up |
down arrow | move down |
Welcome your PR! If you have any idea, Pls make Issues!