This is a simple snake game written in Rust using the speedy2d library.
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.
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
W
orUp Arrow
to move upA
orLeft Arrow
to move leftS
orDown Arrow
to move downD
orRight Arrow
to move right
This project is licensed under the DBAD license. See the LICENSE file for more details.
- The Rust Programming Language
- speedy2d
- rand
- SelfMadeSystem (me)
- icewormy3's teacher for telling her class to make a snake game in Java using LinkedLists, which inspired me try to make the game in Python using deque in under 1 hour. I then decided to make the game in Rust because I felt like it. The Python game is available in the snek.py file.