An open API service indexing awesome lists of open source software.

https://github.com/frectonz/snake

Snake Game in Rust
https://github.com/frectonz/snake

ascii macroquad ruscii rust snake snake-game

Last synced: 5 months ago
JSON representation

Snake Game in Rust

Awesome Lists containing this project

README

          

# Snake implemented in Rust

To run the terminal version made using [ruscii](https://github.com/lemunozm/ruscii).

[Watch the YouTube Demo](https://youtu.be/RHeQA1ISvE0)

## Run with Nix

### TUI

```sh
nix run github:frectonz/snake#snake-tui
```

### GUI

```sh
nix run github:frectonz/snake#snake-gui
```

## Terminal

```sh
cargo run --bin console_snake
```

![console_snake](./console_snake.png)
Running in [Cool Retro Term](https://github.com/Swordfish90/cool-retro-term)

Asciinema example
[![asciicast](https://asciinema.org/a/518501.svg)](https://asciinema.org/a/518501)

## GUI

To run the gui version made using [macroquad](https://github.com/not-fl3/macroquad).

```sh
cargo run --bin gui_snake
```

![console_snake](./gui_snake.png)