/rust-snake

Primary LanguageRustOtherNOASSERTION

Snake Rust

Description

This is a simple snake game written in Rust using the speedy2d library.

Build

To build the game, you need to have Rust installed. Then, you can run the following command:

cargo build --release

The executable will be located in the target/release folder.

Run

If you already built the game, you can run it using the executable in the target/release folder.

If not, you can run the game using the following command:

cargo run --release

Controls

  • W or Up Arrow to move up
  • A or Left Arrow to move left
  • S or Down Arrow to move down
  • D or Right Arrow to move right

License

This project is licensed under the DBAD license. See the LICENSE file for more details.

Credits