21 Commits

Author SHA1 Message Date
Uttarayan Mondal ed91c40c8f Merge pull request #1 from uttarayan21/dependabot/cargo/crossbeam-utils-0.8.15
Bump crossbeam-utils from 0.8.1 to 0.8.15
2024-10-29 15:05:10 +05:30
Uttarayan Mondal c8e9be72a8 Merge pull request #2 from uttarayan21/dependabot/cargo/rand_core-0.6.4
Bump rand_core from 0.6.1 to 0.6.4
2024-10-29 15:04:41 +05:30
dependabot[bot] 62b8e94969 Bump rand_core from 0.6.1 to 0.6.4
Bumps [rand_core](https://github.com/rust-random/rand) from 0.6.1 to 0.6.4.
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/rand_core-0.6.1...0.6.4)

---
updated-dependencies:
- dependency-name: rand_core
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 05:21:47 +00:00
dependabot[bot] 94ec661a22 Bump crossbeam-utils from 0.8.1 to 0.8.15
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) from 0.8.1 to 0.8.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.1...crossbeam-utils-0.8.15)

---
updated-dependencies:
- dependency-name: crossbeam-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 05:20:53 +00:00
Uttarayan Mondal 3ddcb84265 Can read config files now
- Now reads config from `$XDG_CONFIG_HOME/.config/snake/snake.yaml`
- Added error enum from config and try to remove all usages of unwrap
- Bumped version to 0.2.3
v0.2.3
2021-03-15 22:30:49 +05:30
Uttarayan Mondal 2a4c4889af Added mit LICENSE v0.2.2 2021-03-15 17:35:47 +05:30
Uttarayan Mondal 5a9e2a85c1 Cargo clippy fixes
Did cargo clippy fixes
Added github workflows
v0.2.1
2021-03-15 17:30:10 +05:30
Uttarayan Mondal 8bc7770bf3 Snake doesn't clear the board every run
also changed all i32 to u32
2021-01-25 02:48:54 +05:30
Uttarayan Mondal eeaa8a2675 Add unicode snake printing
Removed a lot of unused and commented code
2021-01-24 03:12:13 +05:30
Uttarayan Mondal c2eff08c9f Added way to print the snake with ascii extended
But ncurses doesn't seem to support ascii extended
so it looks bizzare
2021-01-20 20:52:17 +05:30
Uttarayan Mondal 295fba633e Fixed the README again
Third times the charm
2021-01-19 21:11:25 +05:30
Uttarayan Mondal de66f7d249 Fixed image hyperlink
Github's markdown does'nt support image resizing lol
2021-01-19 21:09:51 +05:30
Uttarayan Mondal f9be68e34b Added screenshot and asciinema
Updated README.
Bumped version to 0.2.0
2021-01-19 21:05:46 +05:30
Uttarayan Mondal d32f293c99 Fixed food spawning and snake collision
Fixed the food spawning in the walls
Fixed the snake not colliding with itself
Added speed control to the snake
Exit if the ncurses window is too small
2021-01-19 02:49:10 +05:30
Uttarayan Mondal 477ffdb036 Fixed snake going into the border
Bugs: I think the food might spawn into the border making the game unplayable.
Fixed: The snake can no longer go inside the border.
Also fixed the bug where pressing a key multiple times could skip the
food while the snake went over it.
2021-01-18 23:55:57 +05:30
Uttarayan Mondal cad605c458 Update README.md 2021-01-18 05:12:07 +05:30
Uttarayan Mondal 6f9a5bd91f Basic playable version 2021-01-18 03:28:18 +05:30
Uttarayan Mondal 2cf1d355f9 Add food spawning 2021-01-06 21:54:30 +05:30
Uttarayan Mondal 5569f1b345 Can Now move a dot across the screen
To add failstate
To add snake food and growth
2021-01-05 23:30:43 +05:30
Uttarayan Mondal e5bbdd7b41 Forgot to exit src folder lol 2021-01-05 03:42:19 +05:30
Uttarayan Mondal 4cc7dbce92 Initial commit I think
Initial commit with just menu and sort of pause menu only
2021-01-05 03:40:51 +05:30