Added screenshot and asciinema
Updated README. Bumped version to 0.2.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Snake in rust
|
||||
## Snake in rust using [ncurses](https://docs.rs/ncurses)
|
||||
|
||||
The game is playable
|
||||
|
||||
@@ -8,7 +8,34 @@ run with
|
||||
cargo run
|
||||
```
|
||||
|
||||
- To fix bugs
|
||||
- To Implement the highscore system
|
||||
#### Keybinds
|
||||
|
||||
Learning from [ncurses](https://docs.rs/ncurses)
|
||||
hjkl or arrow keys for movement
|
||||
|
||||
esc or p to pause
|
||||
|
||||
#### Screenshot
|
||||
|
||||
Click the image for asciinema
|
||||
|
||||
[](https://asciinema.org/a/PtMG7dghPAEZ7tNgx70sKplKq?autoplay=1)
|
||||
|
||||
#### Todo :construction:
|
||||
|
||||
- [ ] Add a way to change the snake speed
|
||||
- [ ] Make a ui to switch the snake speed
|
||||
- [x] Interal implementation of the snake speed
|
||||
- [ ] Implement Highscore System
|
||||
- [ ] Make the ui
|
||||
- [ ] Internal Implementation
|
||||
|
||||
#### Bugs :bug:
|
||||
|
||||
- ~~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](https://reddit.com/r/unixporn) of course :clown_face:)
|
||||
|
||||
Reference in New Issue
Block a user