This program is a popular Snake game. This is a very basic version. It lacks many important features. So, these are the todo tasks :-
TODO:
- Increase the length of the snake by 1, if it captures the target.
- Allow snake to be turned at any point of time.(allow fully zigzag motion)
- Fix GAME OVER bug. (Even if the snake touches the terminal wall, in some cases, GAME OVER is not printed)
- Apply dynamic checks for terminal window size.
- Re-organize the code. Make it modular. Use best (standard) practices. Document it properly.
- Find any other bugs and fix them.
- Make it colorful and interesting. Show Game Score on the screen.