Uttarayan Mondal f9be68e34b Added screenshot and asciinema
Updated README.
Bumped version to 0.2.0
2021-01-19 21:05:46 +05:30
2021-01-19 21:05:46 +05:30
2021-01-05 03:42:19 +05:30
2021-01-19 21:05:46 +05:30
2021-01-19 21:05:46 +05:30
2021-01-19 21:05:46 +05:30

Snake in rust using ncurses

The game is playable

run with

cargo run

Keybinds

hjkl or arrow keys for movement

esc or p to pause

Screenshot

Click the image for asciinema

![snake](images/screenshot.png =650x)

Todo 🚧

  • Add a way to change the snake speed
    • Make a ui to switch the snake speed
    • Interal implementation of the snake speed
  • Implement Highscore System
    • Make the ui
    • Internal Implementation

Bugs 🐛

  • Snake going through the walls
  • Food spawning in the walls
  • Remove all the logging in the ui
  • Pausing delayed if esc is pressed but not if p is pressed.

Maybe in the future

  • Autoplay the game using a simple pathfinding algorithm (to show on r/unixporn of course 🤡)
S
Description
Snake Game in rust using ncurses
Readme MIT 226 KiB
v0.2.3 Latest
2021-03-16 01:01:07 +08:00
Languages
Rust 100%