Snake game for Windows console in C/C++
Simple Windows console version of the game Snake.
The red snake can be moved around the screen using the ←, →, ↑ and ↓ buttons to reach the green apple. Each time the snake eats a piece of fruit the tail grows by one cell. The objective of the game is to collect all the fruit without the snake hitting either one of the four walls, or its own tail.