Pong (7/9) - Basic AI - Second Paddle - C++/SDL2 - GPS 1.7 - Urdu/اردو
Programmer Cheema
In this video, we will make another paddle (opponent paddle) which will be controlled by the CPU and it will have a basic AI or artificial intelligence* programming for it in order to play against the player.
*It's not as complex or sci-fi as the term AI sounds like... lol
00:00 Start 01:07 Making Second Paddle (SDL_Rect) 02:21 Implementing Basic AI for Second Paddle 03:47 Nerfing AI in order to make it possible for the player to win against it 05:21 Implementing Ball-Second Paddle Collision - Collision at the left side of the paddle 07:47 Understanding Bottom-Left Collision (not as detailed as in the previous video) 08:31 Code Overview 08:44 Ending
I hope you liked my video. And if you do like it, subscribe to my channel so that, you don't miss my next video.
#ProgrammerCheema #PakistaniGameDev #GameProgrammingSeries #GameProgramming #GameDevelopment
#GameDev #IndieGameDev #IndieGame #Programming
Bold Aesthetic Creative
YouTube: https://www.youtube.com/channel/UCmL1kMduqjbXpS7s6rGdMHw?sub_confirmation=1 Patreon: https://www.patreon.com/boldaestheticcreative Discord: https://boldaestheticcreative.com/discord Games: https://boldaestheticcreative.itch.io/ Website: https://boldaestheticcreative.com/ Twitter: https://twitter.com/BilalBoss213 Facebook: https://www.facebook.com/bacStudios/ LinkedIn: https://www.linkedin.com/company/bold-aesthetic-creative-studios/
Join HomeTeam GameDev: http://hometeamgamedev.com/
Programmer Cheema
Facebook: https://www.facebook.com/programmerCheema Twitter: https://twitter.com/ProgCheema Instagram: https://www.instagram.com/programmercheema/ Portfolio: https://boldaestheticcreative.com/portfolio LinkedIn: https://www.linkedin.com/in/bilal-cheema-402bba7b/
Who is Programmer Cheema? A Pakistani Indie Game Dev who can do pretty much anything game dev related but would like you to consider me as a Gameplay Programmer since that is what I really like the most and probably, the thing in which I have spent most of the time when doing game dev.
This channel is focused on Indie Game Development, its process, and tutorials to help my fellow Pakistani community. With that said, I will be sharing my opinions on a lot of Pakistani matters. In this channel, all the videos will be in Urdu.
386251497 Bytes