@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.
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.
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 job. today i just made a program that printed out "hello world!" on the screen. the background was black and there were white words on there. you know, the program hackers use? yeah, i'm cool like that...
@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!!!
@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.
@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.
Hey Can U Give Me The Code :) I Want To Make A Remix :D :) Ty
BlooDh3xx 5 days ago
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.
WSWarthog 6 days ago
This the best game in the world! :D
Tutu1707 2 weeks ago
Why is the outline flashing?
gargantuan101 3 weeks ago
@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.
Geeksunitedvideos 2 weeks ago
@gargantuan101 because c++ standard doesn't have a function to refresh(buffer) the screen, as far as i know.
onlyoneskiez 1 week ago
@gargantuan101 it has to remake the edges every single buffer.
redmastif01 6 days ago
how you did for the variable receives the keyboard buffer?
rocksubway 3 weeks ago
Thumbs up if you searched for the F13
raulbutuc 3 weeks ago 10
How did it know I was "loose" O_O.
ClickyPencil 1 month ago 2
Should be "You Lose" not loose.
HonorValorIntegrity 1 month ago
how many lines of code was that and how advanced do you have to be to make that stuff?
h0wud0in2 1 month ago
Crap I would have a seizure playing that
quintrollyout00b 1 month ago
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.
Mr56010 1 month ago
cool
cCcYigitcCc 1 month ago
Good job :D
Ardrin2889 1 month ago
Can i have the code please? I would like to know how you did this
ucuucu234 1 month ago
press the up arrow, and the right arrow key, simultaneously as you watch this.
Silhouettesinmotion 1 month ago
How many fps ?
cmin764 1 month ago
nice game. wouldnt mind knowing how to do this :)
Pendo0826 1 month ago
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)
zlovredniyTip 1 month ago
cool
LeaVSLucas 1 month ago
can u tell the code?plzzzz
muhammadalistar 1 month ago
must have been fun
i cant wait to learn how to do somthing like this
programming takes alot of perspective and problem solving
jjtheslayer69 1 month ago
Is that clear screen? lol XD and random drop of random letters? XD
TheBugError 1 month ago
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
adelnlyncation 1 month ago
Nice...
but could you send me the CODES please...!!
fadle.com@gmail.com
i'll waiting for...^^
MrFadli99 2 months ago
This has been flagged as spam show
nice job. today i just made a program that printed out "hello world!" on the screen. the background was black and there were white words on there. you know, the program hackers use? yeah, i'm cool like that...
okush69 2 months ago
Pause the video, press 2 and then F13
TheElip100 2 months ago 64
@TheElip100 fail there is no f13
DjLEATH3R 2 months ago
@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 1 month ago
@HeadShotHarp Well some Pcs have a f13 - f15 button :D There programming keyboards
DjLEATH3R 1 month ago
@TheElip100 Okay, i pressed both and nothing happened...-_- wait...oh nevermind i was pressing f14...my bad...HOLY SHIT thats Sick!!!!!
iwhbyd11 1 month ago
@TheElip100 Where is F13?
UnboundLegend 1 month ago
@UnboundLegend are you serious?
waytothewill 1 month ago
@waytothewill Yes I'm dead serious. My keyboard only goes up to F12.
UnboundLegend 1 month ago
@TheElip100 GOD DAMN I FELL FOR THAT!@#%$^$
XDD But the press 2 made it Brilliant :P
NutHoofd 1 month ago
@TheElip100 my keyboard goes up to F19
captainempathy 1 month ago
@TheElip100 please help me i think my keyboard is brokn i dunt have F13 key
JKING heuehuheuheuhuhueh
JoelakaDamian 1 month ago
@TheElip100 I have a mac keyboard, so 18 'F' keys!
Not really but im just being a cunt.;)
TheGameRacerHD 2 weeks ago
@TheElip100 Oh! Is funny because there is no F13
AllDayEveryDayXbox 1 week ago
@TheElip100 i am on a mac. jokes on you!
az100eletronics12 1 week ago
@TheElip100 i tried to actually do it and i was like "wtf ? where is f13 ?"
csmapper58 1 week ago
@TheElip100 wheres F13 lol
PlayingSomeGame 11 hours ago
funny way to make a game O_o. i like it :D
SeanDemey 2 months ago
good
greekmanael 2 months ago
pause the video and hold the up arrow and the left arrow at the same time on your keyboard.
AlexTheMobster 2 months ago 3
It's cool...great job
but probably you need to post the code for us in case we needed it...
NeeNHassan 2 months ago
How long did it took you to make it?
MoRazer12 2 months ago
Learn allegro. Looks nicer and no flickering. Nice work though!
crazymosquito6 2 months ago
at 0:42 it looks like its going to say "C++ Sucks!! :D"
8BitAdventure 2 months ago 55
@8BitAdventure Note also 'Semester 3' in the path.
Mr56010 1 month ago
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.
anth0ny989 2 months ago
Lol, this is actually cool!
tmantonym 2 months ago
comparte el codigo!! please
sasuke23z 3 months ago
Hey how do you control movements in several directions during the game!
ninehoursful 3 months ago
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
TheDoomista 3 months ago
yar ahmed hoo sakay to code tou send maar
at raousama3@gmail.com
MrUsamarao 3 months ago
@drunkenwaffle I think he used cout for displaying everything and cin for user input.
TheFlameSlasher 4 months ago
@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.
zxKanghu 4 months ago
What did you use for input without a library? o.O
DrunkenWaffle 4 months ago
@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 3 months ago
@Logart8 Ah, cool.
DrunkenWaffle 3 months ago
Cool, God I never did anything that cool in console!
GCGGAMES 4 months ago
why didn't you double buffer it?
lancerator08 4 months ago
Tutotial plz! Btw this is pretty good
NimNomer 4 months ago
tutorial please
afker553 5 months ago
can i have the code?
MrCarlobenedict 6 months ago
KOOL, THIS IS EXACTLY THE SAME GAME YOU CAN PLAY ON YOUTUBE (SNAKE GAME)!
TheJimzhe842 7 months ago
Nice, you can use new text??
but this is good i cant write this ^^
(PL)
p995po 11 months ago
can you give me the coding please
its pretty cool
hc1435 11 months ago
@hc1435 the thing is u must actualy create it by urself
iiperento 4 months ago
amazing
MrAndreaspower 1 year ago
Christmas day lol
idc1414 1 year ago