Added: 1 year ago
From: AhmedSanaullah
Views: 36,677
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (76)

Sign In or Sign Up now to post a comment!
  • Hey Can U Give Me The Code :) I Want To Make A Remix :D :) Ty

  • You can significantly reduce the flutting of the screen by using an OS routine for clearing the console instead of drawing a bunch of blank lines.

  • This the best game in the world! :D

  • Why is the outline flashing?

  • @gargantuan101 This is just a theory (since I honestly have no idea how this is layed out), but I assume it's because the way the visuals are handled is by calling the layout again for each tick (in which the line of o's move), which causes it to "flash", as it's actually creating a new screen of text.

  • @gargantuan101 because c++ standard doesn't have a function to refresh(buffer) the screen, as far as i know.

  • @gargantuan101 it has to remake the edges every single buffer.

  • how you did for the variable receives the keyboard buffer?

  • Thumbs up if you searched for the F13

  • How did it know I was "loose" O_O.

  • Should be "You Lose" not loose.

  • how many lines of code was that and how advanced do you have to be to make that stuff?

  • Crap I would have a seizure playing that

  • Congratulations. K&R book says that every good programmer have started with HelloWorld, so what are you. From the flicker of the screen I think there would not be a problem if screen gets bigger, but it will be if it gets smaller.

  • cool

  • Good job :D

  • Can i have the code please? I would like to know how you did this

  • press the up arrow, and the right arrow key, simultaneously as you watch this.

  • How many fps ?

  • nice game. wouldnt mind knowing how to do this :)

  • Hi. I have an idea how u can make this game without flashing. The problem is that u use clrscr();

    Try to place space there where u want to delete a part of your snake

    ex.

    000 -> ' '000 <-- it moved and u don't need to delete entire screen, and there will be no flashing)

    PS Awesome game i like it)

  • cool

    

  • can u tell the code?plzzzz

    

  • must have been fun

    i cant wait to learn how to do somthing like this

    programming takes alot of perspective and problem solving

  • Is that clear screen? lol XD and random drop of random letters? XD

  • Woow u are genius. I have that before in my Nokia 3310 . But mine it's with color not black in white like that. Bravo continue comme ça est tu va devenir un genie cette année

  • Nice...

    but could you send me the CODES please...!!

    fadle.com@gmail.com

    i'll waiting for...^^

  • Pause the video, press 2 and then F13

  • @TheElip100 fail there is no f13

  • @DjLEATH3R you can download many programs which emulates the press on a f13 button. and the best is: all this sentences with F13 are a fake. "press f13 for IQ test" and this shit. ITS ALL FAKE!!!

  • @HeadShotHarp Well some Pcs have a f13 - f15 button :D There programming keyboards

  • @TheElip100 Okay, i pressed both and nothing happened...-_- wait...oh nevermind i was pressing f14...my bad...HOLY SHIT thats Sick!!!!!

  • @TheElip100 Where is F13?

  • @UnboundLegend are you serious?

  • @waytothewill Yes I'm dead serious. My keyboard only goes up to F12.

  • @TheElip100 GOD DAMN I FELL FOR THAT!@#%$^$

    XDD But the press 2 made it Brilliant :P

  • @TheElip100 my keyboard goes up to F19

  • @TheElip100 please help me i think my keyboard is brokn i dunt have F13 key

    JKING heuehuheuheuhuhueh

  • @TheElip100 I have a mac keyboard, so 18 'F' keys!

    Not really but im just being a cunt.;)

  • @TheElip100 Oh! Is funny because there is no F13

  • @TheElip100 i am on a mac. jokes on you!

  • @TheElip100 i tried to actually do it and i was like "wtf ? where is f13 ?"

  • @TheElip100 wheres F13 lol

    

  • funny way to make a game O_o. i like it :D

  • good

    

  • pause the video and hold the up arrow and the left arrow at the same time on your keyboard.

  • It's cool...great job

    but probably you need to post the code for us in case we needed it...

  • How long did it took you to make it?

  • Learn allegro. Looks nicer and no flickering. Nice work though!

  • at 0:42 it looks like its going to say "C++ Sucks!! :D"

  • @8BitAdventure Note also 'Semester 3' in the path.

  • How did you let the snake continously move?

    i tried to use while loop but the looping seem to be working too fast that it almost blink and not move.

  • Lol, this is actually cool!

  • comparte el codigo!! please

  • Hey how do you control movements in several directions during the game!

  • try to use X Y positions from windows.h (try to search gotoxy(int x, int y); ) on google. Then you can clear last letter of snake

  • yar ahmed hoo sakay to code tou send maar

    at raousama3@gmail.com

    

  • @drunkenwaffle I think he used cout for displaying everything and cin for user input.

  • @TheFlameSlasher Don't talk nonsense, if you use the cin object, then you need to press enter to send the input. I think he used conio.h with getch() (DevC++ have it).

    Btw, don't clear the entire screen every time you move, that is obsolete.

  • What did you use for input without a library? o.O

  • @DrunkenWaffle You can use I think it is Getch or something like that to read input from ascii characters, all you have to do is declare a char with the number of the ascii character (numbers and letters are ascii characters.) thats how i did it.

  • @Logart8 Ah, cool.

  • Cool, God I never did anything that cool in console!

  • why didn't you double buffer it?

  • Tutotial plz! Btw this is pretty good

  • tutorial please

  • can i have the code?

  • KOOL, THIS IS EXACTLY THE SAME GAME YOU CAN PLAY ON YOUTUBE (SNAKE GAME)!

  • Nice, you can use new text??

    but this is good i cant write this ^^

    (PL)

  • can you give me the coding please

    its pretty cool

  • @hc1435 the thing is u must actualy create it by urself

  • amazing

  • Christmas day lol

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more