Creating Simple Snake Game in C++ (With Source Code)@ProgrammingKnowledge - playproduction.de

Creating Simple Snake Game in C++ (With Source Code)@ProgrammingKnowledge

ProgrammingKnowledge
Views: 63753
Like: 992
Welcome to this course on C++ Tutorial for Beginners. In this video we will see How to create C++ Snake Game. We will Practice programming in C++ by writing a simple game.
code:
C++ is general purpose, compiled, object-oriented programming language and its concepts served as the basis for several other languages such as Java, Python, Ruby, Perl etc.

The goal of this course is to provide you with a working knowledge of C++. We’ll start with the basics, including syntax, operators, loops, and functions. This Course will explain you how to use data structures and create your own Functions. This Course will show you the details of the powerful object and template systems so you can create useful classes and objects.

#ProgrammingKnowledge #CppTutorial #CPPprogramming #Structures #Struct #SnakeGame #Game
★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ ⚫️
Java Programming Course ➡️ ⚫️
Bash Shell Scripting Course ➡️ ⚫️
Linux Command Line Tutorials ➡️ ⚫️
C Programming Course ➡️ ⚫️
C++ Programming Course ➡️ ⚫️
PHP Programming Course ➡️ ⚫️
Android Development Course ➡️ ⚫️
C# Programming Course ➡️ ⚫️
JavaFx Programming Course ➡️ ⚫️
NodeJs Programming Course ➡️ ⚫️
Jenkins Course For Developers and DevOps ➡️ ⚫️
Scala Programming Tutorial Course ➡️ ⚫️
Bootstrap Responsive Web Design Tutorial ➡️ ⚫️
MongoDB Tutorial Course ➡️ ⚫️
QT C++ GUI Tutorial For Beginners ➡️

★★★ Online Courses to learn ★★★
Get 2 FREE Months of Unlimited Classes from skillshare –
Data Science – |
Machine Learning – |
Artificial Intelligence – |
MERN Stack E-Degree Program – |
DevOps E-degree – |
Data Analytics with R – |
AWS Certification Training – |
Projects in Java – |
Machine Learning With TensorFlow – |
Angular 8 – Complete Essential Guide –
Kotlin Android Development Masterclass –
Learn iOS Programming Building Advance Projects –

★★★ Follow ★★★
My Website –

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!

44 Comments

  1. to set cursor in linux use below function:void SetCursorPos(int XPos, int YPos)
    {
    printf("33[%d;%dH", YPos+1, XPos+1);
    }

  2. Thanks a lot!I will download this video and I will watch it many times!Khamosh from AFG!

  3. I have a problem where the fruit doesnt generate if eaten.(i think it has to something with how the board is generated everytime)can u help me please?

  4. Thank u so much sir… Ur videos had been helped me a lot

  5. Otherwise great video but the audio quality is actual garbage. Is very jarring to listen to. Also the comments were practically invisible.

  6. Really u r smart sir
    hope u may bring good graphics in it soon..

  7. Sir how can we make hand written note taking app?or is this possible that a when on a device it will open a particular one app no desktop?

  8. Hello sir ,My snake speed too much can I slower down?

  9. can't see the comments written, it looks like the color is too light with the white background.

  10. error: could not convert '((void)0, 0)' from 'int' to 'COORD' {aka '_COORD'}|

  11. i am not that good at programming and I am not even from a computer science background and it takes me a lot of time to understand some stuff here and there but I have had no such hiccups while watching your video so far which is very surprising and impressive. You have a talent for teaching. Thanks for taking the time and making these videos.

  12. Ye code jis k pass hai written me…
    Copy kr k send kr den plzzz

  13. Try to use triple slash for commenting, so that it is clearly visible to us!

  14. my snake moves so fast. Can u tell me how to slow it down pls? tks!

  15. The tutorial is awesome but my God, your voice in the second half is making my head explode.

  16. at 28:54 getting error ||=== Build file: "no target" in "no project" (compiler: unknown) ===|

    F:kuchbhi.cpp|3|fatal error: C:/Program Files (x86)/CodeBlocks/MinGW/lib/gcc/mingw32/4.9.2/include/c++/"snake.h": Invalid argument|

    ||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

  17. Please change the color of your comment, its not visible at all

  18. soudn quality is poor :((( otherwise awesome tutorial thank you

  19. bro fix mic pls it was so frustrating to understand but i made it out. Thank u so much.

  20. Hoping you can get a better mic! Thanks for the tutorial!

  21. Thanks buddy!! I really learned a lot from this video. I had experience with various game engines like unity and unreal but i wanted to start from scratch to be efficient and just include what I need. In game engines it would have been super easy to create but I love c++ and it also efficient.

  22. I have a question regarding the code for gen_food, I understand that it randomly generates a random coordinate, but wouldn't it be possible for the food to be spawned inside the snakes tail or body?

  23. Guglielmo Marconi's radio transmission sounded better than this video. C'mon…, if you upload something you have to check the final result.

  24. thank you my friend this video helped me! keep up the good work!

  25. Your video helped me a lot man
    But I have few problems here
    I did everything you did, but sometimes my snake passes through the food without it getting eaten, like it just passes without eating. Another problem is, successfully when my snake enters the wall in the right it comes from the left, but when I go to the left wall, it just stops like it’s stuck. And when I hit the upper and lower wall, I lose. Please help me and thank you.

  26. Except the sound quality everything about this video is great….thank you for this tutorial, it helped me a lot….

Leave a Reply

Your email address will not be published.