Design and implement a C++ console(command-prompt) version of the classic game ‘Snake’.
Application Design Requirements:
• Snake is continuously moving.
• When snake exits play space it appears on opposite side of the play space.
• Snake is made of segments.
• Snake eats ‘fruit’ which randomly appears.
• Each fruit makes the snake longer by adding segments to the tail.
• Each fruit eaten gains the player a point, reflected with an on-screen score.
• If the snake runs into any part of itself the game is over.
You are to also extend the minimum requirements of the game with your own additions and
features. You should aim for 2-5 extra features depending on the difficulty of the implementation.
Examples of possible additional features include (but not limited too):
• Different types of fruit which may affect the snake (speed, length etc.).
• Obstacles, that when hit – trigger the endgame.
• Persistent Highscore.
• Difficulty settings.
• Ability to restart the game without closing the window
#Sales Offer!| Get upto 25% Off: