Premium Only Content

Battleship - Hard Computer Player and Sounds | Python | Pygame Module | Programming Beginners
Here is the 10th video of Battleships in Python, using Pygame.
In this video we make use of Recursion to assist in building the hard computer player. Once the Hard computer player has "Hit" one of the player's ships, rest assured, that ship as well as any ships connected to that ship, will be systematically destroyed.
I didn't realize what a massive task this project was going to be.
Either way, the biggest project I have tackled thus far, and I absolutely loved it!! I hope you'll follow along and enjoy.
#Python #pythonprogramming #pygame #battleship #pythontutorial #pythonforbeginners #pythontutorial #python3 #code
https://github.com/GrizzlyH/Battleship_Walkthrough.git
Music Attribution : Free Spirit by Kirk Osamayo
www.freemusicarchive.org/music/kirk-osamayo/blue-season-3-1/free-spirit/
01:15 Hard Computer
03:15 Make Attack()
11:20 Explanation
12:00 GenerateMoves() - Recursion
19:40 Choose Computer Player
21:00 Test Computer
27:25 End Game Screen
35:20 New game problems
40:30 Problems Solved?
42:20 Problem Walkthrough
43:30 Remove Time Delay
45:00 Adding Sounds
-
9:20
Tactical Advisor
17 hours agoNew Shadow 2 Carry | CZ Compact Upgrade (FIRST LOOK)
9041 -
18:15
World2Briggs
6 hours ago $0.04 earned10 Cities That Are Slowly Emptying Like a Sad Party
852 -
11:34
Mrgunsngear
16 hours ago $0.45 earnedSiege Suppressors ROC556 Low Backpressure Silencer Review 🤫
2.86K5 -
30:57
Clownfish TV
3 hours agoDisney Drops DEI and Goes PRO-AMERICA?!
2862 -
17:35
QNewsPatriot
16 hours ago(4/25/2025) | AUDIO CHAT 166 | SG Sits Down w/ Sovereign Radio Founder Scotty Saks: Vaxx Lawsuits and the #NeverAgain Telethon
12.9K10 -
19:51
CatfishedOnline
48 minutes agoSpouse Sends $50,000 To A Man Who Doesn't Exist 😱
9 -
11:59
ariellescarcella
16 hours agoThe Dark Side Of "Queer Joy"
1511 -
1:12:39
Squaring The Circle, A Randall Carlson Podcast
23 hours ago#045 What Are The Structures Beneath The Great Pyramids in Giza? Squaring the Circle: A Randall Carlson Podcast
1.92K -
2:08:05
Badlands Media
1 day agoDevolution Power Hour Ep. 349: Trump’s Geopolitical Gambits, Sports Psyops, and the Regime’s Unraveling
108K100 -
1:08:36
Man in America
18 hours agoUS, China, Israel & the Battle for the New World Order w/ Boone Cutler
123K124