{"repo":"AngelJumbo/sssnake","free":true,"listed":false,"github":"https://github.com/AngelJumbo/sssnake","clone":"git clone https://github.com/AngelJumbo/sssnake.git","description":"cli snake game that plays itself","language":"C","stars":233,"topics":["autoplay","curses","game","snake-game","terminal","tty","ascii","cli","terminal-game","snake-ai"],"license":"MIT","category":"cli-tools","readme_excerpt":"sssnake The classic snake game for the terminal that can play itself and be used like a screensaver. Installation No external dependencies required. Just clone and build: Usage You can check the manpage or use the -h option to see the details of what this program can do. So instead I would like to show you a few things that I like to run. Planned features Definitely be added - Pause key Spacebar is now the pause key. - Increase and decrease speed keys You can increase or decrease the speed with + and - in autopilot/screensaver modes. - An alternative/replacement to the A\\ algorithm (probably BFS) BFS is now available with: --short-path=bfs . May be added - Hamiltonian cycles. - Custom colors. - IDA\\ to find the shortest path. Faq Can I control the snake? Yes, that's the default mode or you can try the arcade mode where the game increases the speed every time you eat. The controls are wasd, the arrow keys or hjkl(vim keys). Does the snake fills the entire screen/terminal with the autopilot? If you use the \"--try-hard\" options the snake will get pretty close and sometimes it will fill the terminal. I implemented two algorithms \"--try-hard 1\" is good for big terminals/boards. You can test it running: \"--try-hard 2\" uses more cpu and it can get laggy with big boards but it has more chances to fill the board. Try: Neither of the two algorithms works well with junk. Why the name \"sssnake\"? All the snake games in the terminal that I found use ASCII characters and, let's be honest, t","default_branch":null,"files":null,"tree":[],"storefront":"/r/AngelJumbo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AngelJumbo/sssnake/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}