Snake Game
This program simulates the game “snake”.
A string of characters moves on the screen according to arrow keys pressed by user. If it touches itself or screen boundary, the program terminates. When the snake moves, in arbitrary screen positions some digit (1-9) appears.
The objective of the game is to make the snake eat the said digit, so that it is added to the score. When a digit is eaten, the size of the snake increases by the number of characters equal to the value of the digit.
In this version of the game there are provisions for saving / loading too.
Snake Game (18.8 KiB, 20,110 hits)
Tags: C Programming, Game
There are 4 Comments to this post. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response or TrackBack from your own site.
Very Thanks for Help
please, I want the code (in c++) of this game.
i got a running c code for a snake game at:
http://latesthub.in/2010/12/03/simple-c-code-for-a-snake-game-project/
heheheh….this code made me happy……really..:)
please, I want the code (in c++) of this game.