C++ Tutorial 18 – Simple Snake Game (Part 1)
Welcome to my simple game tutorial on C++. In this tutorial i will going to show you how to make a fun snake game.
We will structure the code of the game and do some basic drawing in the console.
Source code:
Finished game:
Download link for visual studio 2012 express:
Great C++ books that I recommend for beginners:
C++ Without Fear: A Beginner’s Guide That Makes You Feel Smart (3rd Edition)
C++ Primer Plus (6th Edition) (Developer’s Library)
Programming: Principles and Practice Using C++ (2nd Edition)
If you have any questions I’ll be glad to answer, please leave a comment on the video.
Thanks for watching and please subscribe.
Nguồn: jmp-photography.net
Xem thêm bài viết khác: https://jmp-photography.net/game/
my visual studio says that it doesn't recognize: identifier "end1" is undefined
Da li si ti mozda sa Balkana? Poz.
Pls tell me why we use the bool game over
why does the finished game link to go porn
Im use to code in game maker studio, I found your tutorial very nice to a pure c++ introduction. Great Work!
акцент похож на русский
To those of you on unix, I provide this snake game ported to ncurses!
https://pastebin.com/uJF4AqUy
(note, if you're compiling with gcc make sure you use "-l ncurses" or you'll get a linker error)
That website in the description is crusty.
0:40
Thanks for tutorial. Are you from Balkan
error: use of undeclared identifier 'sleep'
sleep(10);
^
what
i'm on linux
Another way to write the inner loop for the two side walls is
if(j == 0 || j == width – 1)
cout<<'#';
else cout<<" ";
Can you please tell me how can I set up my vscode for c++ coding
can anyone else hear 2 girls 1 cup in the intro music 😂
I like your content, but you exhale too much and that sounds quite annoying..
Are u Russian?
how to stop that flicking
help
P
Hi, can you provide the link for me to download the c++ for free? I am interested to learn! Thanks
thank you soooooooooooooooooooooooooooo much for your lesson
Very helpfull man I love you!
jel si ti sa balkana brate
i like making games because you can add ANYTHING
i don't understand void someone explains
pls
1:35