Computer Science Canada Snake Game project |
Author: | bigr [ Thu Apr 15, 2004 8:50 am ] |
Post subject: | Snake Game project |
i talked to my teacher about doing this snake game in turing. http://www.addictinggames.com/worm.html i notice that on all the tutorials and already posted "snake help" topics, every game is the one where u get food and u get longer. how would i make the code so that the walls are random (but no too hard) and the snake moves up when the left mouse button is clicked and falls down when the left click isn't down. would this involve using a grid like idea for the other snake games. this is also my first year programming in computer science so bare with me. |
Author: | Tony [ Thu Apr 15, 2004 8:57 am ] | ||||
Post subject: | |||||
zylum has a nice snake game writen... anyways, for walls you just use random
where myGrid is your 2D array for the playfield. as for mouse controls
|