Description:
In this experiment, the design Snake game for the subject. The end result is 8* 8 dot matrix display as the game through the key BTN1 BTN2, BTN3, BTN4 control the snake s direction of movement, were "up and down about. The length of the snake for six lattice, the addition, with a little mouse, when snakeheads eat mice, rats change position in the lattice, that is a pseudo-random function to generate the location of the mice on a dot matrix, whenever snakeheads eat a mouse, it automatically added a point, and the digital display. Every five minutes, under the premise of the snake did not eat mice, rats will automatically change the position in the lattice, which increases the fun and difficulty of the game.
To Search:
File list (Check if you may need any files):
tanchishe.doc