i want the code o snake game by using c lanuage anyone can help?:)

Member Avatar
Member Avatar
+0 forum 3

I'm having some trouble making my snake move :D I can move one point in any direction but the whole body of the snake is where I'm confused , if(a == (char) 119 || a == (char) 87 || a == 72) { y=y--; gotoxy(x,y); PrintVector(v); } thats works just fine if my vector consists of only one point , but other than that it doesnt work , I know if I Want its body to move right I gotta use puch_back and pop_back but I just need a little help or a hint :D another thing i'm making my …

Member Avatar
Member Avatar
+0 forum 16

Hello guys! :) I have problem finding out, about why the author if the code i have. Uses array like this: [CODE]int past[1000][2]; and says that 0 is side, and 1 is up.[/CODE] Does he mean that: [CODE]past[pastCounter][0]; is for up,and down (x) past[pastCounter][1]; is for sides (y)[/CODE] Appreciate all help! :) btw a snake game.

Member Avatar
Member Avatar
+0 forum 8

I have no idea at all, nothing, on how to make a full, running and working snake game. I tried starting off using character symbols in ASCII to draw its head and body, but from there on I have no clue on how to make it move with out having to redraw the screen and rewrite its position after every key press handler/event or detection. I have no idea on how to do this. And I mean do it with out extended graphics, only C++'s native things, and it's possible because others have done it and I really could use …

Member Avatar
Member Avatar
+0 forum 9

hi, i'm writing a snake game and so far i've gotten nowhere, not even to moving the hashes i'm calling snake, and that's what i'm gonna discuss now i know i don't clearly have an understanding of threading for animation but before this i've done lotsa stuff like bouncing frames etc but this time i just don't get it, where am i going wrong with the threads and all?! the damn label i call snake is just not moving! and btw, i'vent written any logic for the directional movement, just basic x,y axis movement,which means the snake won't ever go …

Member Avatar
Member Avatar
+0 forum 3

First there was the [URL="http://www.daniweb.com/news/story285531.html"]Google Pac-Man game[/URL] to waste a bit of online time, now Google has dropped an Easter Egg game into YouTube in the shape of the classic Snake. Yes, you can now play Snake on YouTube right in the middle of watching a video, right there in the video player. [attach]16118[/attach]YouTube is one of the biggest things in new media entertainment, and Snake is one of the oldest computer games to still be played by millions of folks around the world. The longevity and popularity of the deceptively simple game can be attributed to Nokia including it …

Member Avatar
Member Avatar
+0 forum 1

The End.