mirror of
https://github.com/fredrikr79/SnakeDL3.git
synced 2025-12-25 19:50:22 +01:00
22 lines
498 B
Markdown
22 lines
498 B
Markdown
# SnakeDL3
|
|
a game of snake written in the brand new SDL3/C
|
|
|
|
|
|
## running the game
|
|
|
|
this game uses [nix](https://nixos.org/) to manage dependencies.
|
|
|
|
after downloading nix, you can simply clone the repository, enter the directory
|
|
with direnv enabled and you will automatically get all the dependencies needed.
|
|
|
|
if you don't have direnv, you can run
|
|
```bash
|
|
$ nix-shell .
|
|
```
|
|
to enter a shell with the required dependencies.
|
|
|
|
after this, you can run the game by typing
|
|
```bash
|
|
$ make run
|
|
```
|