This is a snake game written in rust for the terminal with greedy algorithm.
Use the arrow keys to move the snake. The goal is to eat as many apples as possible without hitting the walls or the snake itself.
To run the game, you need to have rust installed. Then, clone the repository and run the following command in the root directory of the project:
cargo run
To build the game, you need to have rust installed. Then, clone the repository and run the following command in the root directory of the project:
cargo build --release
The executable will be in the target/release directory.